public interface SingleSourceShortestPaths
Modifier and Type | Method and Description |
---|---|
SingleSourceShortestPaths |
clone() |
void |
setNetworkAnalyst(NetworkAnalyst analyst)
This method allows caller to pass the network analyst object to this shortest path algorithm implementation, so that the algorithm can call the analysis functions provided by the network analyst, or access the network explorer associated with the network analyst.
|
LogicalSubPath[] |
shortestPaths(PointOnNet[] startPoint, PointOnNet[][] endPoints, LODNetworkConstraint constraint, int direction)
Returns the shortest paths from the start point (one of the start point candidates) to each set of end points (one of the end point candidates).
|
LogicalLightSubPath[] |
shortestPathsLight(PointOnNet[] startPoint, PointOnNet[][] endPoints, LODNetworkConstraint constraint, int direction)
Returns the light weight shortest paths from the start point (one of the start point candidates) to each set of end points (one of the end point candidates).
|
LogicalLightSubPath[] shortestPathsLight(PointOnNet[] startPoint, PointOnNet[][] endPoints, LODNetworkConstraint constraint, int direction) throws LODNetworkException
startPoint
- start point candidatesendPoints
- array of end point candidatesconstraint
- network constraintdirection
- NetworkExplorer.DIRECTION_FORWARD or NetworkExplorer.DIRECTION_BACKWARDLODNetworkException
LogicalSubPath[] shortestPaths(PointOnNet[] startPoint, PointOnNet[][] endPoints, LODNetworkConstraint constraint, int direction) throws LODNetworkException
startPoint
- start point candidatesendPoints
- array of end point candidatesconstraint
- network constraintdirection
- NetworkExplorer.DIRECTION_FORWARD or NetworkExplorer.DIRECTION_BACKWARDLODNetworkException
void setNetworkAnalyst(NetworkAnalyst analyst)
SingleSourceShortestPaths clone()