public interface Network
extends java.lang.Cloneable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
BIDIRECTED_LINK |
static int |
DIRECTED_LINK |
static int |
LOGICAL_NETWORK |
static int |
LRS_GEOMETRY_TYPE |
static int |
SDO_GEOMETRY_TYPE |
static int |
SPATIAL_NETWORK |
static int |
TOPO_GEOMETRY_TYPE |
static int |
UNDIRECTED_LINK |
Modifier and Type | Method and Description |
---|---|
void |
addLink(Link l)
Adds a link to the network.
|
void |
addLinkData(java.lang.String dataName, java.lang.String dataType, int dataLength)
Adds a link user data entry A NetworkDataException is thrown if the data already exists
|
void |
addLinks(Link[] linkArray)
Adds an array of links to the network.
|
void |
addNetwork(Network n)
Adds a network to the current network.
|
Node |
addNode(Link l, double distanceRatio, boolean isTemporary)
Adds a node on a link to the network.
|
void |
addNode(Node n)
Adds a node to the network.
|
void |
addNodeData(java.lang.String dataName, java.lang.String dataType, int dataLength)
Adds a node user data entry A NetworkDataException is thrown if the data already exists
|
void |
addNodes(Node[] nodeArray)
Adds an array of nodes to the network.
|
void |
addPath(Path path)
Adds a path to the network.
|
void |
addPathData(java.lang.String dataName, java.lang.String dataType, int dataLength)
Adds a path user data entry A NetworkDataException is thrown if the data already exists
|
void |
addPaths(Path[] pathArray)
Adds an array of paths to the network.
|
void |
addSubPath(SubPath subPath)
Adds a subpath to the network.
|
void |
addSubPathData(java.lang.String dataName, java.lang.String dataType, int dataLength)
Adds a subpath user data entry A NetworkDataException is thrown if the data already exists
|
void |
addSubPaths(SubPath[] subPathArray)
Adds an array of subpaths to the network.
|
Node |
addTemporaryNode(Link l, double distanceRatio)
Adds a Temporary node (non-persistent) on a link.
|
void |
clear()
Clears all network structure.
|
void |
clearTemporaryCache()
Clears the temporatory cache
|
java.lang.Object |
clone()
Clones the network.
|
boolean |
containsLink(int linkID)
Checks if the network contains the given link
|
boolean |
containsLink(java.lang.String linkID)
Checks if the network contains the given link
|
boolean |
containsNode(int nodeID)
Checks if the network contains the given node
|
boolean |
containsNode(java.lang.String nodeID)
Checks if the network contains the given node
|
boolean |
containsPath(int pathID)
Checks if the network contains the given path
|
boolean |
containsPath(java.lang.String pathID)
Checks if the network contains the given path
|
boolean |
containsSubPath(int subPathID)
Checks if the network contains the given subpath
|
boolean |
containsSubPath(java.lang.String subPathID)
Checks if the network contains the given subpath
|
boolean |
containsUserData()
Checks if the network has user data defined in user_network_user_data
|
void |
deleteLink(int linkID)
Deletes a link by ID.
|
void |
deleteLink(Link l)
Deletes a link.
|
void |
deleteLink(java.lang.String linkID)
Deletes a link by the String ID.
|
void |
deleteLinkData(java.lang.String dataName)
Deletes a link user data entry
|
void |
deleteNetwork(Network n)
Deletes a sub-network.
|
void |
deleteNode(int nodeID)
Deletes a node by ID.
|
void |
deleteNode(Node n)
Deletes a node.
|
void |
deleteNode(java.lang.String nodeID)
Deletes a node by the STring ID.
|
void |
deleteNodeData(java.lang.String dataName)
Deletes a node user data entry
|
void |
deletePath(int pathID)
Deletes a path by ID.
|
void |
deletePath(Path path)
Deletes a path.
|
void |
deletePath(java.lang.String pathID)
Deletes a path by the String ID.
|
void |
deletePathData(java.lang.String dataName)
Deletes a path user data entry
|
void |
deleteSubPath(int subPathID)
Deletes a subpath by ID.
|
void |
deleteSubPath(java.lang.String subPathID)
Deletes a subpath by the String ID.
|
void |
deleteSubPath(SubPath subPath)
Deletes a subpath.
|
void |
deleteSubPathData(java.lang.String dataName)
Deletes a subpath user data entry
|
void |
deleteTemporaryElements()
Deletes all temporary elements (nodes and links).
|
Link |
getLink(int linkID)
Returns the link by ID.
|
Link |
getLink(int startNodeID, int endNodeID)
Returns the link by the start and the end node IDs
|
Link |
getLink(java.lang.String linkID)
Returns the link by the STring ID.
|
Link[] |
getLinkArray()
Returns the links as an array.
|
Link[] |
getLinkArray(boolean active)
Returns the links with the specified active flag as an array.
|
Link[] |
getLinkArray(int level)
Returns the links with the specified level as an array.
|
Link[] |
getLinkArray(java.lang.String type)
Returns the links with the specified type as an array.
|
java.lang.String |
getLinkDurationColumn()
Deprecated.
|
int[] |
getLinkHierarchyLevelArray()
Returns the link hierarchy levels as an array.
|
int[] |
getLinkLevelArray()
Returns the link levels as an array.
|
java.lang.String |
getLinkPartitionColumn()
Deprecated.
|
java.util.Iterator |
getLinks()
Returns the links as an Iterator.
|
java.util.Iterator |
getLinks(boolean active)
Returns the links with the specified active flag as an Iterator.
|
java.util.Iterator |
getLinks(int level)
Returns the links with the specified link level as an Iterator.
|
java.util.Iterator |
getLinks(java.lang.String type)
Returns the links with the specified type as an Iterator.
|
java.util.Set |
getLinksByPartitionID(int partitionID)
Returns the links with the specified partition ID as a Set.
|
java.lang.String |
getLinkTableName()
Deprecated.
|
java.lang.String |
getLRSTableName()
Deprecated.
|
int |
getMaxLinkID()
Returns the maximum link ID.
|
int |
getMaxNodeID()
Returns the maximun node ID.
|
int |
getMaxPathID()
Returns the maximum path ID.
|
int |
getMaxSubPathID()
Returns the maximum subpath ID.
|
MBR |
getMBR()
Returns the network MBR.
|
NetworkMetadata |
getMetadata()
Returns the network metadata.
|
java.lang.String |
getMetadataViewName()
Returns the network metadata view name (user_sdo_network_metadata).
|
java.lang.String |
getName()
Returns the network name.
|
oracle.spatial.network.NetworkCache |
getNetworkCache()
Returns the network cache for editing purpose.
|
int |
getNetworkID()
Returns the network ID.
|
Node |
getNode(int nodeID)
Returns the node by ID.
|
Node |
getNode(java.lang.String nodeID)
Returns the node by the String ID.
|
Node[] |
getNodeArray()
Returns the nodes as an array.
|
Node[] |
getNodeArray(boolean active)
Returns the nodes with the specified acvive flag as an array.
|
Node[] |
getNodeArray(int hierarchyLevel)
Returns the nodes with the specified hierarchy level as an array.
|
Node[] |
getNodeArray(java.lang.String type)
Returns the nodes with the specified type as an array.
|
java.lang.String |
getNodeDurationColumn()
Deprecated.
|
java.lang.String |
getNodeGeomColumn()
Returns the node geometry column name in the database.
|
int[] |
getNodeHierarchyLevelArray()
Returns the node hierarchy levels as an array.
|
java.lang.String |
getNodePartitionColumn()
Deprecated.
|
java.util.Iterator |
getNodes()
Returns the nodes as an Iterator.
|
java.util.Iterator |
getNodes(boolean active)
Returns the nodes with the specified acvive flag as an Iterator
|
java.util.Iterator |
getNodes(int hierarchyLevel)
Returns the nodes with the specified hierarchy level as an Iterator.
|
java.util.Iterator |
getNodes(java.lang.String type)
Returns the nodes with the specified type as an Iterator.
|
java.util.Set |
getNodesByPartitionID(int partitionID)
Returns the nodes with the specified partition ID as a Set.
|
java.lang.String |
getNodeTableName()
Deprecated.
|
int |
getNoOfHierarchyLevels()
Returns the number of hierarcchy levels.
|
int |
getNoOfLinks()
Returns the number of links.
|
int |
getNoOfLinks(boolean active)
Returns the number of links with the specified active flag.
|
int |
getNoOfLinks(int level)
Returns the number of links with the specified link level.
|
int |
getNoOfNodes()
Returns the number of nodes.
|
int |
getNoOfNodes(boolean active)
Returns the number of nodes with the specified active flag.
|
int |
getNoOfNodes(int hierarchyLevel)
Returns the number of nodes with the specified hierachy level.
|
int |
getNoOfPartitions()
Returns the number of partitions.
|
int |
getNoOfPaths()
Returns the number of paths.
|
int |
getNoOfPaths(boolean active)
Returns the number of paths with the specified active flag.
|
int |
getNoOfSubPaths()
Returns the number of subpaths.
|
java.lang.String |
getPartitionTableName()
Returns the partition table name in the database.
|
Path |
getPath(int pathID)
Returns the path by ID.
|
Path |
getPath(java.lang.String pathID)
Returns the path by the String ID.
|
Path[] |
getPathArray()
Returns the paths as an array.
|
Path[] |
getPathArray(boolean active)
Returns the paths with the specified active flag as an array.
|
Path[] |
getPathArray(java.lang.String type)
Returns the paths with the specified type as an array.
|
java.lang.String |
getPathLinkTableName()
Deprecated.
|
java.util.Iterator |
getPaths()
Returns the paths as an Iterator.
|
java.util.Iterator |
getPaths(boolean active)
Returns paths with the specified active as an Iterator.
|
java.util.Iterator |
getPaths(java.lang.String type)
Returns the paths with the specified type as an Iterator.
|
java.lang.String |
getPathTableName()
Deprecated.
|
Network |
getSubNetwork(MBR mbr)
Returns the sub-network bound by the specified MBR.
|
SubPath |
getSubPath(int subPathID)
Returns the subpath by ID.
|
SubPath |
getSubPath(java.lang.String subPathID)
Returns the subpath by the String ID.
|
SubPath[] |
getSubPathArray()
Returns the subpaths as an array.
|
SubPath[] |
getSubPathArray(boolean active)
Returns the subpaths with the specified active flag as an array.
|
SubPath[] |
getSubPathArray(java.lang.String type)
Returns the subpaths with the specified type as an array.
|
java.util.Iterator |
getSubPaths()
Returns the subpaths as an Iterator.
|
java.util.Iterator |
getSubPaths(boolean active)
Returns subpaths with the specified active as an Iterator.
|
java.util.Iterator |
getSubPaths(java.lang.String type)
Returns the subpaths with the specified type as an Iterator.
|
java.lang.String |
getSubPathTableName()
Deprecated.
|
Link[] |
getTemporaryLinkArray()
Returns all temporary links as an array.
|
Node[] |
getTemporaryNodeArray()
Returns all temporary nodes as an array.
|
java.lang.Object |
getUserData()
Gets user defined data.
|
java.lang.Object |
getUserData(java.lang.String name)
Gets user data
|
boolean |
hasNodeCost()
Checks if the network has node cost.
|
boolean |
hasStringID()
Checks if the network has String ID index
|
Network |
intersectNetwork(Network network)
Intersects the network with the given network.
|
boolean |
isConnected()
Checks if the network is connected.
|
boolean |
isDirected()
Checks if the network is directed.
|
boolean |
isHierarchical()
Checks if the network is hierarchical (hierarchy level > 1).
|
boolean |
isLogical()
Checks if the network is logical (without spatial information).
|
boolean |
isLRSGeometry()
Checks if the network is from an LRS geometry layer.
|
boolean |
isModified()
Checks if the network has been modified.
|
boolean |
isPartitioned()
Checks if the network is partitioned.
|
boolean |
isPersistent()
Checks if the network is persistent (stored in the database).
|
boolean |
isReadOnly()
Checks if the network is read-only to the database.
|
boolean |
isSDOGeometry()
Checks if the network is from an SDO geometry layer.
|
boolean |
isSimple()
Deprecated.
|
boolean |
isSpatial()
Checks if the network is spatial (with spatial information).
|
boolean |
isTopoGeometry()
Checks if the network is from a TOPO geometry layer.
|
boolean |
isTree()
Checks if the network is a tree.
|
boolean |
isUndirected()
Checks if the network is un-directed.
|
boolean |
isVersioned()
Checks if the network is versioned
|
Link[] |
nearestLink(double x, double y)
Gets the nearest link in a spatial network The result is in an array of Link.
|
Node[] |
nearestNode(double x, double y)
Gets the nearest node in a spatial network The result is in an array of Node.
|
void |
resetComponentNo(int no)
Resets the node compomnent number to the specified number
|
void |
setCategory(int category)
Sets the network category.
|
void |
setLinkCostFunction(LinkCostFunction costFunction)
Sets up user defined link cost function
|
void |
setLinkDurationColumn(java.lang.String durationColumn)
Deprecated.
|
void |
setLinkPartitionColumn(java.lang.String partitionColumnName)
Deprecated.
|
void |
setMaxLinkID(int maxID)
Sets the max link ID to maxID
|
void |
setMaxNodeID(int maxID)
Sets the max node ID to maxID
|
void |
setMaxPathID(int maxID)
Sets the max path ID to maxID
|
void |
setMaxSubPathID(int maxID)
Sets the max subpath ID to maxID
|
void |
setNodeDurationColumn(java.lang.String durationColumn)
Deprecated.
|
void |
setNodePartitionColumn(java.lang.String partitionColumnName)
Deprecated.
|
void |
setNoOfHierarchyLevels(int no)
Deprecated.
|
void |
setPartitionTableName(java.lang.String partitionTableName)
Deprecated.
|
void |
setStringIDIndex()
Sets String ID indexes for nodes, links ,and paths.
|
void |
setStringIDIndex(oracle.spatial.network.NDMStringID nodeStringID, oracle.spatial.network.NDMStringID linkStringID, oracle.spatial.network.NDMStringID pathStringID)
Sets String ID indexes for nodes,links ,and paths.
|
void |
setStringIDIndex(oracle.spatial.network.NDMStringID nodeStringID, oracle.spatial.network.NDMStringID linkStringID, oracle.spatial.network.NDMStringID pathStringID, oracle.spatial.network.NDMStringID subPathStringID)
Sets String ID indexes for nodes,links ,and paths.
|
void |
setTemporaryCachingEnabled(boolean flag)
Enable/Disable Temporatory Element caching.
|
void |
setUserData(java.lang.Object userData)
Sets user defined data.
|
void |
setUserData(java.lang.String name, java.lang.Object data)
Sets user data
|
static final int LOGICAL_NETWORK
static final int SPATIAL_NETWORK
static final int UNDIRECTED_LINK
static final int BIDIRECTED_LINK
static final int DIRECTED_LINK
static final int SDO_GEOMETRY_TYPE
static final int LRS_GEOMETRY_TYPE
static final int TOPO_GEOMETRY_TYPE
NetworkMetadata getMetadata()
java.lang.String getName()
Node[] getNodeArray()
java.util.Iterator getNodes()
Node[] getNodeArray(boolean active)
java.util.Iterator getNodes(boolean active)
active
- the active flagNode[] getNodeArray(int hierarchyLevel)
hierarchyLevel
- the hierarchy leveljava.util.Iterator getNodes(int hierarchyLevel)
hierarchyLevel
- the hierarchy level of the nodesNode[] getNodeArray(java.lang.String type)
type
- the node typejava.util.Iterator getNodes(java.lang.String type)
type
- the node typeLink[] getLinkArray()
java.util.Iterator getLinks()
Link[] getLinkArray(boolean active)
active
- the active flagjava.util.Iterator getLinks(boolean active)
active
- the active flagLink[] getLinkArray(int level)
level
- target link leveljava.util.Iterator getLinks(int level)
level
- target link levelLink[] getLinkArray(java.lang.String type)
type
- the link typejava.util.Iterator getLinks(java.lang.String type)
type
- the link typeint getNoOfNodes()
int getNoOfNodes(boolean active)
active
- the active flagint getNoOfNodes(int hierarchyLevel)
hierarchyLevel
- the hierarchy levelint getNoOfLinks()
int getNoOfLinks(boolean active)
active
- the active flagint getNoOfLinks(int level)
level
- the link levelint getNoOfPaths()
int getNoOfSubPaths()
int getNoOfPaths(boolean active)
active
- the active flagboolean isConnected()
boolean isDirected()
boolean isUndirected()
boolean isLogical()
boolean isSpatial()
boolean isLRSGeometry()
boolean isSDOGeometry()
boolean isTopoGeometry()
boolean isHierarchical()
int getNoOfHierarchyLevels()
int getNoOfPartitions()
void clear()
Node getNode(int nodeID) throws NetworkDataException
nodeID
- the node IDNetworkDataException
Node getNode(java.lang.String nodeID) throws NetworkDataException
nodeID
- the node String IDNetworkDataException
Link getLink(int linkID) throws NetworkDataException
linkID
- the link IDNetworkDataException
Link getLink(java.lang.String linkID) throws NetworkDataException
linkID
- the link String IDNetworkDataException
Link getLink(int startNodeID, int endNodeID) throws NetworkDataException
startNodeID
- the start node IDendNodeID
- the end node IDNetworkDataException
Path getPath(int pathID) throws NetworkDataException
pathID
- the path IDNetworkDataException
Path getPath(java.lang.String pathID) throws NetworkDataException
pathID
- the path IDNetworkDataException
Path[] getPathArray()
java.util.Iterator getPaths()
Path[] getPathArray(boolean active)
active
- the active flagjava.util.Iterator getPaths(boolean active)
active
- the active flagPath[] getPathArray(java.lang.String type)
type
- the path typejava.util.Iterator getPaths(java.lang.String type)
type
- the path typeSubPath getSubPath(int subPathID) throws NetworkDataException
subPathID
- the subpath IDNetworkDataException
SubPath getSubPath(java.lang.String subPathID) throws NetworkDataException
subPathID
- the subpath IDNetworkDataException
SubPath[] getSubPathArray()
java.util.Iterator getSubPaths()
SubPath[] getSubPathArray(boolean active)
active
- the active flagjava.util.Iterator getSubPaths(boolean active)
active
- the active flagSubPath[] getSubPathArray(java.lang.String type)
type
- the subpath typejava.util.Iterator getSubPaths(java.lang.String type)
type
- the path typevoid addNode(Node n) throws NetworkDataException
n
- the node to be addedNetworkDataException
void addNodes(Node[] nodeArray) throws NetworkDataException
nodeArray
- the array of nodes to be addedNetworkDataException
Node addNode(Link l, double distanceRatio, boolean isTemporary) throws NetworkDataException
l
- the link on which the node is addeddistanceRatio
- the ratio (between 0 and 1) from the start point of the linkisTemporary
- if the node is temporary nodeNetworkDataException
Node addTemporaryNode(Link l, double distanceRatio) throws NetworkDataException
l
- the link on which the node is addeddistanceRatio
- ratio (between 0 and 1) from the start point of the linkNetworkDataException
void addLink(Link l) throws NetworkDataException
l
- the link to be addedNetworkDataException
void addLinks(Link[] linkArray) throws NetworkDataException
linkArray
- the array of links to be addedNetworkDataException
void deleteNode(int nodeID) throws NetworkDataException
nodeID
- the node IDNetworkDataException
void deleteNode(java.lang.String nodeID) throws NetworkDataException
nodeID
- the node String IDNetworkDataException
void deleteNode(Node n)
n
- the node to be deletedvoid deleteLink(int linkID) throws NetworkDataException
linkID
- the link IDNetworkDataException
void deleteLink(java.lang.String linkID) throws NetworkDataException
linkID
- the link String IDNetworkDataException
void deleteLink(Link l)
l
- the link to be deletedvoid addPath(Path path) throws NetworkDataException
path
- the path to be addedNetworkDataException
void addSubPath(SubPath subPath) throws NetworkDataException
subPath
- the subpath to be addedNetworkDataException
void addPaths(Path[] pathArray) throws NetworkDataException
pathArray
- the array of paths to be addedNetworkDataException
void addSubPaths(SubPath[] subPathArray) throws NetworkDataException
subPathArray
- the array of subpaths to be addedNetworkDataException
void deletePath(int pathID) throws NetworkDataException
pathID
- the path to be deletedNetworkDataException
void deletePath(java.lang.String pathID) throws NetworkDataException
pathID
- the path to be deletedNetworkDataException
void deletePath(Path path)
path
- the path to be deletedvoid deleteSubPath(int subPathID) throws NetworkDataException
subPathID
- the subpath to be deletedNetworkDataException
void deleteSubPath(java.lang.String subPathID) throws NetworkDataException
subPathID
- the subpath to be deletedNetworkDataException
void deleteSubPath(SubPath subPath)
subPath
- the subpath to be deletedvoid resetComponentNo(int no)
no
- new component numberboolean isTree()
int getMaxNodeID()
int getMaxLinkID()
int getMaxPathID()
int getMaxSubPathID()
Node[] getTemporaryNodeArray()
Link[] getTemporaryLinkArray()
void deleteTemporaryElements()
Network getSubNetwork(MBR mbr)
mbr
- the specified MBRvoid addNetwork(Network n) throws NetworkDataException
n
- the network to be addedNetworkDataException
void deleteNetwork(Network n) throws NetworkDataException
n
- the sub-network to be deletedNetworkDataException
void setNoOfHierarchyLevels(int no)
no
- the number of hierarchy levelsjava.lang.String getNodeTableName()
java.lang.String getLinkTableName()
java.lang.String getPathTableName()
java.lang.String getSubPathTableName()
java.lang.String getPathLinkTableName()
java.lang.String getPartitionTableName()
java.lang.String getLRSTableName()
java.lang.String getNodeGeomColumn()
oracle.spatial.network.NetworkCache getNetworkCache()
java.lang.String getMetadataViewName()
int[] getNodeHierarchyLevelArray()
int[] getLinkHierarchyLevelArray()
int[] getLinkLevelArray()
MBR getMBR()
java.util.Set getNodesByPartitionID(int partitionID)
java.util.Set getLinksByPartitionID(int partitionID)
java.lang.String getNodePartitionColumn()
java.lang.String getLinkPartitionColumn()
java.lang.Object getUserData()
void setUserData(java.lang.Object userData)
boolean isPersistent()
void setCategory(int category)
category
- the network category It is eitehr Network.SPATIAL_NETWORK or Network.LOGICAL_NETWORKboolean hasNodeCost()
boolean isModified()
boolean isPartitioned()
java.lang.Object clone()
Network intersectNetwork(Network network) throws NetworkDataException
NetworkDataException
int getNetworkID()
void setStringIDIndex() throws NetworkDataException
NetworkDataException
void setStringIDIndex(oracle.spatial.network.NDMStringID nodeStringID, oracle.spatial.network.NDMStringID linkStringID, oracle.spatial.network.NDMStringID pathStringID, oracle.spatial.network.NDMStringID subPathStringID) throws NetworkDataException
nodeStringID
- node string ID interfacelinkStringID
- link string ID interfacepathStringID
- path string ID interfacesubPathStringID
- subpath string ID interfaceNetworkDataException
void setStringIDIndex(oracle.spatial.network.NDMStringID nodeStringID, oracle.spatial.network.NDMStringID linkStringID, oracle.spatial.network.NDMStringID pathStringID) throws NetworkDataException
nodeStringID
- node string ID interfacelinkStringID
- link string ID interfacepathStringID
- path string ID interfaceNetworkDataException
boolean hasStringID()
boolean isSimple()
void setNodePartitionColumn(java.lang.String partitionColumnName)
partitionColumnName
- node partition columnvoid setLinkPartitionColumn(java.lang.String partitionColumnName)
partitionColumnName
- link partition columnboolean isReadOnly()
void setTemporaryCachingEnabled(boolean flag)
flag
- true if enabled, false disabledvoid clearTemporaryCache()
boolean containsNode(int nodeID)
boolean containsLink(int linkID)
boolean containsPath(int pathID)
boolean containsSubPath(int subPathID)
boolean containsNode(java.lang.String nodeID)
boolean containsLink(java.lang.String linkID)
boolean containsPath(java.lang.String pathID)
boolean containsSubPath(java.lang.String subPathID)
void setPartitionTableName(java.lang.String partitionTableName)
void setNodeDurationColumn(java.lang.String durationColumn)
void setLinkDurationColumn(java.lang.String durationColumn)
java.lang.String getNodeDurationColumn()
java.lang.String getLinkDurationColumn()
void setUserData(java.lang.String name, java.lang.Object data)
name
- name for the user datadata
- user datajava.lang.Object getUserData(java.lang.String name)
name
- name for the user dataNode[] nearestNode(double x, double y)
x
- first ordinate of the given pointy
- second ordinate of the given pointLink[] nearestLink(double x, double y)
x
- first ordinate of the given pointy
- second ordinate of the given pointboolean containsUserData()
void addNodeData(java.lang.String dataName, java.lang.String dataType, int dataLength) throws NetworkDataException
dataName
- data name for the user datadataType
- data type for the user data ("INTEGER","NUMBER", "VARCHAR2")dataLength
- data length for "VARCHAR2"NetworkDataException
void addLinkData(java.lang.String dataName, java.lang.String dataType, int dataLength) throws NetworkDataException
dataName
- data name for the user datadataType
- data type for the user data ("INTEGER","NUMBER", "VARCHAR2")dataLength
- data length for "VARCHAR2"NetworkDataException
void addPathData(java.lang.String dataName, java.lang.String dataType, int dataLength) throws NetworkDataException
dataName
- data name for the user datadataType
- data type for the user data ("INTEGER","NUMBER", "VARCHAR2")dataLength
- data length for "VARCHAR2"NetworkDataException
void addSubPathData(java.lang.String dataName, java.lang.String dataType, int dataLength) throws NetworkDataException
dataName
- data name for the user datadataType
- data type for the user data ("INTEGER","NUMBER", "VARCHAR2")dataLength
- data length for "VARCHAR2"NetworkDataException
void deleteNodeData(java.lang.String dataName)
dataName
- data name for the user datavoid deleteLinkData(java.lang.String dataName)
dataName
- data name for the user datavoid deletePathData(java.lang.String dataName)
dataName
- data name for the user datavoid deleteSubPathData(java.lang.String dataName)
dataName
- data name for the user databoolean isVersioned()
void setLinkCostFunction(LinkCostFunction costFunction)
costFunction
- user defined link cost functionvoid setMaxNodeID(int maxID)
maxID
-void setMaxLinkID(int maxID)
void setMaxPathID(int maxID)
void setMaxSubPathID(int maxID)