Skip navigation links

Oracle® Spatial Java API Reference
11g Release 2 (11.2)
E11829-02


oracle.spatial.network.lod
Interface ShortestPath

All Known Implementing Classes:
AStar, Dijkstra

public interface ShortestPath

This interface defines methods supported by a shortest path algorithm.

Since:
Oracle Database 11g Release 2 (11.2)

Method Summary
 LinkCostCalculator[] getLinkCostCalculators()
          Returns the link cost calculators.
 LinkLevelSelector getLinkLevelSelector()
          Returns the link level selector.
 NodeCostCalculator[] getNodeCostCalculators()
          Returns the node cost calculators.
 void setInitialAnalysisInfo(LODAnalysisInfo analysisInfo)
          Sets the initial analysis info.
 void setLinkCostCalculators(LinkCostCalculator[] lccs)
          Sets the link cost calculators.
 void setLinkLevelSelector(LinkLevelSelector lls)
          Sets the link level selector.
 void setNodeCostCalculators(NodeCostCalculator[] nccs)
          Sets the node cost calculators.
 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

getLinkLevelSelector

LinkLevelSelector getLinkLevelSelector()
Returns the link level selector.
Returns:

setLinkLevelSelector

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

getLinkCostCalculators

LinkCostCalculator[] getLinkCostCalculators()
Returns the link cost calculators.
Returns:

setLinkCostCalculators

void setLinkCostCalculators(LinkCostCalculator[] lccs)
Sets the link cost calculators.
Parameters:
lccs -

getNodeCostCalculators

NodeCostCalculator[] getNodeCostCalculators()
Returns the node cost calculators.
Returns:

setNodeCostCalculators

void setNodeCostCalculators(NodeCostCalculator[] nccs)
Sets the node cost calculators.
Parameters:
nccs -

Skip navigation links

Oracle® Spatial Java API Reference
11g Release 2 (11.2)
E11829-02


Copyright © 2007, 2011, Oracle and/or its affiliates. All Rights Reserved.