de.cm.osm2po.sd.routing
Class SdRouter

java.lang.Object
  extended by de.cm.osm2po.sd.routing.SdRouter

public class SdRouter
extends java.lang.Object

Default-Implemenentation for the SD-Routing.

Author:
(c) 2013 - Carsten Moeller - info@osm2po

Field Summary
static int DEAD_END_EDGE_IDX
           
static int NOT_FOUND_IDX
           
 
Constructor Summary
SdRouter(SdGraph sdGraph, java.io.File cacheFile)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEAD_END_EDGE_IDX

public static final int DEAD_END_EDGE_IDX
See Also:
Constant Field Values

NOT_FOUND_IDX

public static final int NOT_FOUND_IDX
See Also:
Constant Field Values
Constructor Detail

SdRouter

public SdRouter(SdGraph sdGraph,
                java.io.File cacheFile)
Method Detail

findPath

public SdPath findPath(SdTouchPoint tpSource,
                       SdTouchPoint tpTarget,
                       boolean carMode)

findPath

public SdPath findPath(SdTouchPoint tpSource,
                       SdTouchPoint tpTarget,
                       double maxCost,
                       double heuristicFactor,
                       boolean fastest,
                       boolean restricted,
                       int allowedEdgeFlags)

clearMem

public void clearMem()

cancel

public void cancel()

osm2po-sd-5.0.0 (c) December 24 2014 Carsten Moeller - info@osm2po.de