Atavism Version 2018.1AGIS API

atavism.server.pathing.detour
Class NodePool

java.lang.Object
  extended by atavism.server.pathing.detour.NodePool

public class NodePool
extends java.lang.Object


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

Field Detail

MaxNodes

public int MaxNodes

HashSize

public int HashSize
Constructor Detail

NodePool

public NodePool(int maxNodes,
                int hashSize)
Method Detail

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)


Copyright © 2018 Dragonsan Studios Sp. z o.o.