cleaning
This commit is contained in:
parent
2a0db125f6
commit
f6473011f8
3 changed files with 1 additions and 9 deletions
|
@ -173,11 +173,6 @@ public class BinaryMapRouteReaderAdapter {
|
||||||
return tag;
|
return tag;
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO implement
|
|
||||||
public String getNonDirectionalTag() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int onewayDirection(){
|
public int onewayDirection(){
|
||||||
if(type == ONEWAY){
|
if(type == ONEWAY){
|
||||||
return intValue;
|
return intValue;
|
||||||
|
|
|
@ -47,7 +47,7 @@ public class RoutingConfiguration {
|
||||||
public float recalculateDistance = 20000f;
|
public float recalculateDistance = 20000f;
|
||||||
|
|
||||||
// 1.6 Time to calculate all access restrictions based on conditions
|
// 1.6 Time to calculate all access restrictions based on conditions
|
||||||
public long routeCalculationTime = 1592317409;//0;
|
public long routeCalculationTime = 0;
|
||||||
|
|
||||||
public static class Builder {
|
public static class Builder {
|
||||||
// Design time storage
|
// Design time storage
|
||||||
|
|
|
@ -17,7 +17,6 @@ import org.apache.commons.logging.Log;
|
||||||
import gnu.trove.iterator.TIntObjectIterator;
|
import gnu.trove.iterator.TIntObjectIterator;
|
||||||
import gnu.trove.iterator.TLongIterator;
|
import gnu.trove.iterator.TLongIterator;
|
||||||
import gnu.trove.map.TLongObjectMap;
|
import gnu.trove.map.TLongObjectMap;
|
||||||
import gnu.trove.map.hash.TIntObjectHashMap;
|
|
||||||
import gnu.trove.map.hash.TLongObjectHashMap;
|
import gnu.trove.map.hash.TLongObjectHashMap;
|
||||||
import gnu.trove.set.hash.TLongHashSet;
|
import gnu.trove.set.hash.TLongHashSet;
|
||||||
import net.osmand.NativeLibrary;
|
import net.osmand.NativeLibrary;
|
||||||
|
@ -608,8 +607,6 @@ public class RoutingContext {
|
||||||
public TLongObjectMap<RouteSegment> getRoutes() {
|
public TLongObjectMap<RouteSegment> getRoutes() {
|
||||||
return routes;
|
return routes;
|
||||||
}
|
}
|
||||||
private TIntObjectHashMap<Integer> forwardTags;
|
|
||||||
private TIntObjectHashMap<Integer> backwardTags;
|
|
||||||
|
|
||||||
public void loadAllObjects(final List<RouteDataObject> toFillIn, RoutingContext ctx, TLongObjectHashMap<RouteDataObject> excludeDuplications) {
|
public void loadAllObjects(final List<RouteDataObject> toFillIn, RoutingContext ctx, TLongObjectHashMap<RouteDataObject> excludeDuplications) {
|
||||||
if(routes != null) {
|
if(routes != null) {
|
||||||
|
|
Loading…
Reference in a new issue