Package oracle.spatial.network
Interface AnalysisInfo
-
public interface AnalysisInfo
This 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 double
getCurrentCost()
Returns the path cost of current nodeint
getCurrentDepth()
Returns the path depth of current node.double
getCurrentDuration()
Returnspath the path duration of current nodeLink
getCurrentLink()
Returns the current link.Node
getCurrentNode()
Returns the current node.double
getNextCost()
Returns the path cost of next nodeint
getNextDepth()
Returns the path depth of next node.double
getNextDuration()
Returnspath the path duration of next nodeLink
getNextLink()
Returns the next link.Node
getNextNode()
Returns the next node.java.util.Vector
getPathLinkVec()
Returns the current path links as a Vector.java.util.Vector
getPathNodeVec()
Returns the current path nodes as a Vector.Node
getStartNode()
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
-
-