|
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.TspPath
public class TspPath
A TspPath consists of an array of LogicalSubPath and the order of the points on the TSP tour.
Constructor Summary | |
---|---|
TspPath(LogicalSubPath[] paths, int[] tspOrder) Constructs a TspPath instance. |
Method Summary | |
---|---|
LogicalSubPath[] |
getPaths() Returns the logical sub-path for the TSP tour. |
int[] |
getTspOrder() Returns the index of the points in visited order. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TspPath(LogicalSubPath[] paths, int[] tspOrder)
paths
- paths between two consecutive points on the tsp path.tspOrder
- order of the points represented by the index of the points in the original input array to the tsp analysis function.Method Detail |
---|
public LogicalSubPath[] getPaths()
public int[] getTspOrder()
|
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 |