|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface KShortestPaths
This interface defines methods supported by a k-shortest path algorithm.
| Method Summary | |
|---|---|
LogicalPath[] |
kShortestPaths(long startNodeId, long endNodeId, int k, LODNetworkConstraint constraint)Returns the k-shortest paths from the start point to the end point. |
void |
setLinkLevelSelector(LinkLevelSelector lls)Sets link level selector. |
| Method Detail |
|---|
LogicalPath[] kShortestPaths(long startNodeId,
long endNodeId,
int k,
LODNetworkConstraint constraint)
throws LODNetworkException
startNodeId - start node IDendNodeId - end node IDk - max number of paths to be returnedconstraint - network constraintLODNetworkExceptionvoid setLinkLevelSelector(LinkLevelSelector lls)
lls - link level selector
|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||