Skip navigation links

Oracle® Spatial Java API Reference
11g Release 1 (11.1)

B28401-02


oracle.spatial.network.lod
Interface ShortestPath

All Known Implementing Classes:
AStar

public interface ShortestPath

This interface defines methods supported by a shortest path algorithm.

Since:
11gR2

Method Summary
 void setInitialAnalysisInfo(LODAnalysisInfo analysisInfo)
          Sets the initial analysis info.
 void setLinkLevelSelector(LinkLevelSelector lls)
          Sets link level selector.
 LogicalSubPath shortestPath(PointOnNet[] startPoints, PointOnNet[] endPoints, LODNetworkConstraint constraint)
          Returns the shortest path between a set of candidate start points and end points.

 

Method Detail

setInitialAnalysisInfo

void setInitialAnalysisInfo(LODAnalysisInfo analysisInfo)
Sets the initial analysis info. This method allows analysis info to be passed to subsequent analysis.
Parameters:
analysisInfo - analysis information

shortestPath

LogicalSubPath shortestPath(PointOnNet[] startPoints,
                            PointOnNet[] endPoints,
                            LODNetworkConstraint constraint)
                            throws LODNetworkException
Returns the shortest path between a set of candidate start points and end points.
Parameters:
startPoints - start candidates
endPoints - end candidates
constraint - network constraint
Returns:
Throws:
LODNetworkException

setLinkLevelSelector

void setLinkLevelSelector(LinkLevelSelector lls)
Sets link level selector.
Parameters:
lls - link level selector

Skip navigation links

Oracle® Spatial Java API Reference
11g Release 1 (11.1)

B28401-02


Copyright © 2007, 2008, Oracle. All Rights Reserved.