Package oracle.spatial.network.lod
Class TspAnalysisInfo
- java.lang.Object
-
- oracle.spatial.network.lod.LODAnalysisInfo
-
- oracle.spatial.network.lod.TspAnalysisInfo
-
public class TspAnalysisInfo extends LODAnalysisInfo
This class contains the TSP points in order, besides other info in LODAnalysisInfo.- Since:
- 11gR2
-
-
Constructor Summary
Constructors Constructor Description TspAnalysisInfo(int numTspPoints)
Creates an TspAnalysisInfo object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]
getTspCosts(int pointIndex)
Returns the costs to reach the input tsp point.int[]
getTspOrder()
Returns TSP points in order.void
setTspCosts(int pointIndex, double[] costs)
Sets the costs to reach the input tsp point.void
setTspOrder(int[] tspOrder)
Sets TSP points in order-
Methods inherited from class oracle.spatial.network.lod.LODAnalysisInfo
getCurrentCost, getCurrentCosts, getCurrentDepth, getCurrentLink, getCurrentNode, getCurrentUserObjects, getDirection, getEndNode, getEndPoint, getEndPoints, getExpandedNode, getNextCost, getNextCosts, getNextDepth, getNextLink, getNextNode, getNextUserObject, getStartNode, getStartPoint, getStartPoints, init, reset, setCurrentCost, setCurrentCosts, setCurrentDepth, setCurrentLink, setCurrentNode, setCurrentUserObjects, setDirection, setEndNode, setEndPoint, setEndPoints, setExpandedNode, setNextLink, setNextNode, setNextUserObject, setStartNode, setStartPoint, setStartPoints
-
-
-
-
Method Detail
-
getTspOrder
public int[] getTspOrder()
Returns TSP points in order. Each element in the returned array is the first member of a TSP point candidate array in the TSP analysis.- Returns:
-
setTspOrder
public void setTspOrder(int[] tspOrder)
Sets TSP points in order- Parameters:
tspOrder
- TSP points in order. Each element in the input array is the first member of a TSP point candidate array in the TSP analysis.
-
getTspCosts
public double[] getTspCosts(int pointIndex)
Returns the costs to reach the input tsp point.
-
setTspCosts
public void setTspCosts(int pointIndex, double[] costs)
Sets the costs to reach the input tsp point.
-
-