atavism.server.pathing.detour
Class NodePool
java.lang.Object
atavism.server.pathing.detour.NodePool
public class NodePool
- extends java.lang.Object
Constructor Summary |
NodePool(int maxNodes,
int hashSize)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MaxNodes
public int MaxNodes
HashSize
public int HashSize
NodePool
public NodePool(int maxNodes,
int hashSize)
Clear
public void Clear()
GetNode
public Node GetNode(long id)
GetNode
public Node GetNode(long id,
long state)
FindNodes
public long FindNodes(long id,
Node[] nodes,
int maxNodes)
FindNode
public Node FindNode(long id,
long state)
GetNodeIdx
public long GetNodeIdx(Node node)
GetNodeAtIdx
public Node GetNodeAtIdx(long idx)
GetFirst
public int GetFirst(int bucket)
GetNext
public int GetNext(int i)