|
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.LODAnalysisInfo
oracle.spatial.network.lod.TspAnalysisInfo
public class TspAnalysisInfo
This class contains the TSP points in order, besides other info in LODAnalysisInfo.
| Constructor Summary | |
|---|---|
TspAnalysisInfo(LinkCostCalculator[] lccs, NodeCostCalculator[] nccs, int direction, int numTspPoints)Creates an TspAnalysisInfo object. |
|
| Method Summary | |
|---|---|
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, getNextCost, getNextCosts, getNextDepth, getNextLink, getNextNode, getNextUserObject, getStartNode, getStartPoint, setDirection, setNextUserObject |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TspAnalysisInfo(LinkCostCalculator[] lccs,
NodeCostCalculator[] nccs,
int direction,
int numTspPoints)
lccs - link cost calculatorsnccs - node cost calculators| Method Detail |
|---|
public int[] getTspOrder()
public void setTspOrder(int[] tspOrder)
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.public double[] getTspCosts(int pointIndex)
public void setTspCosts(int pointIndex,
double[] costs)
|
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 | ||||||||