Skip navigation links

Oracle® Spatial Java API Reference
11g Release 1 (11.1)

B28401-02


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
 double getCurrentCost()
          Returns the path cost of current node
 int getCurrentDepth()
          Returns the path depth of current node.
 double getCurrentDuration()
          Returnspath the path duration of current node
 Link getCurrentLink()
          Returns the current link.
 Node getCurrentNode()
          Returns the current node.
 double getNextCost()
          Returns the path cost of next node
 int getNextDepth()
          Returns the path depth of next node.
 double getNextDuration()
          Returnspath the path duration of next node
 Link 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 analys
 Node[] 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

Skip navigation links

Oracle® Spatial Java API Reference
11g Release 1 (11.1)

B28401-02


Copyright © 2007, 2008, Oracle. All Rights Reserved.