|
Oracle® Spatial Java API Reference 11g Release 2 (11.2) E11829-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.spatial.network.lod.DefaultPairwiseCostCalculator
public class DefaultPairwiseCostCalculator
This is the default pairwise cost calculator. It calculates the pairwise costs using the input pairwise shortest path algorithm.
Constructor Summary | |
---|---|
DefaultPairwiseCostCalculator(oracle.spatial.network.lod.PairwiseShortestPaths pwsp) Constructs a default pairwise cost calculator. |
Method Summary | |
---|---|
boolean |
calculate(PointOnNet[][] startPoints, PointOnNet[][] endPoints, LODNetworkConstraint constraint) Computes the pairwise shorest path and the pairwise costs using the pairwise shortest paths algorithm passed in to the constructor. |
Matrix<double[]> |
getPairwiseCosts() Returns the pairwise costs. |
Matrix<LogicalSubPath> |
getPairwisePaths() Returns the pairwise shortest paths. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultPairwiseCostCalculator(oracle.spatial.network.lod.PairwiseShortestPaths pwsp)
pwsp
- pairwise shortest path algorithm.Method Detail |
---|
public boolean calculate(PointOnNet[][] startPoints, PointOnNet[][] endPoints, LODNetworkConstraint constraint) throws LODNetworkException
calculate
in interface PairwiseCostCalculator
startPoints
-endPoints
-constraint
-LODNetworkException
public Matrix<LogicalSubPath> getPairwisePaths()
getPairwisePaths
in interface PairwiseCostCalculator
public Matrix<double[]> getPairwiseCosts()
getPairwiseCosts
in interface PairwiseCostCalculator
|
Oracle® Spatial Java API Reference 11g Release 2 (11.2) E11829-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |