Package oracle.spatial.network.lod
Class NetworkSearch.NetworkSearchTree
- java.lang.Object
-
- oracle.spatial.network.lod.NetworkSearch.NetworkSearchTree
-
- Enclosing class:
- NetworkSearch
protected static class NetworkSearch.NetworkSearchTree extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description NetworkSearchTree(LongHashMap<HeavyPointOnNet> roots, int direction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNode(VisitedNode node)booleancontains(long nodeId)intgetDirection()VisitedNodegetNode(long nodeId)long[]getOrderedNodeIds()Returns the node IDs in increasing depth order.LogicalSubPathgetSubPathFromRoot(long nodeId, LinkCostCalculator[] lccs, NodeCostCalculator[] nccs, NetworkExplorer ne)booleanisRoot(long nodeId)java.util.Iterator<VisitedNode>nodeIterator()voidremoveNode(long nodeId)
-
-
-
Constructor Detail
-
NetworkSearchTree
public NetworkSearchTree(LongHashMap<HeavyPointOnNet> roots, int direction)
-
-
Method Detail
-
getDirection
public int getDirection()
-
addNode
public void addNode(VisitedNode node)
-
contains
public boolean contains(long nodeId)
-
getOrderedNodeIds
public long[] getOrderedNodeIds()
Returns the node IDs in increasing depth order.- Returns:
-
nodeIterator
public java.util.Iterator<VisitedNode> nodeIterator()
-
getNode
public VisitedNode getNode(long nodeId)
-
getSubPathFromRoot
public LogicalSubPath getSubPathFromRoot(long nodeId, LinkCostCalculator[] lccs, NodeCostCalculator[] nccs, NetworkExplorer ne) throws LODNetworkException
- Throws:
LODNetworkException
-
isRoot
public boolean isRoot(long nodeId)
-
removeNode
public void removeNode(long nodeId)
-
-