public class SdRouter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEAD_END_EDGE_IDX |
static int |
NOT_FOUND_IDX |
Constructor and Description |
---|
SdRouter(SdGraph sdGraph,
java.io.File cacheFile) |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
void |
clearMem() |
SdPath |
findPath(SdTouchPoint tpSource,
SdTouchPoint tpTarget,
boolean carMode) |
SdPath |
findPath(SdTouchPoint tpSource,
SdTouchPoint tpTarget,
double maxCost,
double heuristicFactor,
boolean fastest,
boolean restricted,
int allowedEdgeFlags) |
public static final int DEAD_END_EDGE_IDX
public static final int NOT_FOUND_IDX
public SdRouter(SdGraph sdGraph, java.io.File cacheFile)
public SdPath findPath(SdTouchPoint tpSource, SdTouchPoint tpTarget, boolean carMode)
public SdPath findPath(SdTouchPoint tpSource, SdTouchPoint tpTarget, double maxCost, double heuristicFactor, boolean fastest, boolean restricted, int allowedEdgeFlags)
public void clearMem()
public void cancel()