Package oracle.spatial.network
Interface AnalysisInfo
-
public interface AnalysisInfoThis interface defines methods for retrieving the analysis information. The information includes: the start node, the current node, the next node, the current link, the next link, the current path depth (no of links in the path), the current path cost, the current path duration, and all links in the current path.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetCurrentCost()Returns the path cost of current nodeintgetCurrentDepth()Returns the path depth of current node.doublegetCurrentDuration()Returnspath the path duration of current nodeLinkgetCurrentLink()Returns the current link.NodegetCurrentNode()Returns the current node.doublegetNextCost()Returns the path cost of next nodeintgetNextDepth()Returns the path depth of next node.doublegetNextDuration()Returnspath the path duration of next nodeLinkgetNextLink()Returns the next link.NodegetNextNode()Returns the next node.java.util.VectorgetPathLinkVec()Returns the current path links as a Vector.java.util.VectorgetPathNodeVec()Returns the current path nodes as a Vector.NodegetStartNode()Returns the start node.double[][]getTspNodeDuration()Returns the TSP path node duration in an array of double The order of the duration is the same as the one in getTSPNodeNodeOrder() the duration is returned as an array of two doubles duration[i][0] represents the arrival duration for the i-th TSP node and This information is only used for TSP related analysNode[]getTspNodeOrder()Returns the TSP path node visit order in an array of Node This information is only used for TSP related analysis
-
-
-
Method Detail
-
getStartNode
Node getStartNode()
Returns the start node.
-
getCurrentNode
Node getCurrentNode()
Returns the current node.
-
getNextNode
Node getNextNode()
Returns the next node.
-
getCurrentLink
Link getCurrentLink()
Returns the current link.
-
getNextLink
Link getNextLink()
Returns the next link.
-
getCurrentDepth
int getCurrentDepth()
Returns the path depth of current node.
-
getNextDepth
int getNextDepth()
Returns the path depth of next node.
-
getCurrentCost
double getCurrentCost()
Returns the path cost of current node
-
getNextCost
double getNextCost()
Returns the path cost of next node
-
getPathLinkVec
java.util.Vector getPathLinkVec()
Returns the current path links as a Vector.
-
getPathNodeVec
java.util.Vector getPathNodeVec()
Returns the current path nodes as a Vector.
-
getCurrentDuration
double getCurrentDuration()
Returnspath the path duration of current node
-
getNextDuration
double getNextDuration()
Returnspath the path duration of next node
-
getTspNodeOrder
Node[] getTspNodeOrder()
Returns the TSP path node visit order in an array of Node This information is only used for TSP related analysis
-
getTspNodeDuration
double[][] getTspNodeDuration()
Returns the TSP path node duration in an array of double The order of the duration is the same as the one in getTSPNodeNodeOrder() the duration is returned as an array of two doubles duration[i][0] represents the arrival duration for the i-th TSP node and This information is only used for TSP related analys
-
-