Skip navigation links

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


oracle.spatial.network.lod
Class DefaultPairwiseShortestPaths

java.lang.Object
  extended by oracle.spatial.network.lod.DefaultPairwiseShortestPaths


public class DefaultPairwiseShortestPaths
extends java.lang.Object

This is the default pairwise shortest paths algorithm. It computes the pairwise shortest paths one by one using the input shortest path algorithm.

Since:
Oracle Database 11g Release 2 (11.2)

Constructor Summary
DefaultPairwiseShortestPaths(NetworkExplorer ne, LinkCostCalculator[] lccs, NodeCostCalculator[] nccs, ShortestPath spAlgorithm)
          Consstruct a DefaultPairwiseSP instance.

 

Method Summary
 void setInitialAnalysisInfo(LODAnalysisInfo analysisInfo)
          Sets the initial analysis info.
 Matrix<LogicalSubPath> shortestPaths(PointOnNet[][] startPoints, PointOnNet[][] endPoints, LODNetworkConstraint constraint)
          Returns the pair-wise shortest paths between a set of candidate start points and end points.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

DefaultPairwiseShortestPaths

public DefaultPairwiseShortestPaths(NetworkExplorer ne,
                                    LinkCostCalculator[] lccs,
                                    NodeCostCalculator[] nccs,
                                    ShortestPath spAlgorithm)
Consstruct a DefaultPairwiseSP instance.
Parameters:
ne -
lccs -
nccs -
spAlgorithm -

Method Detail

setInitialAnalysisInfo

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

shortestPaths

public Matrix<LogicalSubPath> shortestPaths(PointOnNet[][] startPoints,
                                            PointOnNet[][] endPoints,
                                            LODNetworkConstraint constraint)
                                     throws LODNetworkException
Returns the pair-wise shortest paths between a set of candidate start points and end points.
Parameters:
startPoints - array of start candidates
endPoints - array of end candidates
constraint - network constraint
Returns:
Throws:
LODNetworkException

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.