Uses of Class
net.citizensnpcs.api.astar.AStarNode
-
Uses of AStarNode in net.citizensnpcs.api.astar
Modifier and TypeInterfaceDescriptioninterface
class
AStarMachine<N extends AStarNode,
P extends Plan> Modifier and TypeMethodDescriptionstatic <N extends AStarNode,
P extends Plan>
AStarMachine<N, P> AStarMachine.createWithDefaultStorage()
Creates an AStarMachine usingSimpleAStarStorage
as the storage backend.static <N extends AStarNode,
P extends Plan>
AStarMachine<N, P> AStarMachine.createWithStorage
(Supplier<AStarStorage> storageSupplier) Creates an AStarMachine that uses the given
to createAStarStorage
instances.AStarNode.orderedPath()
Modifier and TypeMethodDescriptionAStarStorage.getBestNode()
SimpleAStarStorage.getBestNode()
protected AStarNode
AStarNode.getParent()
AStarStorage.removeBestNode()
Returns the best node from the frontier and removes it.SimpleAStarStorage.removeBestNode()
Modifier and TypeMethodDescriptionvoid
Close a givenAStarNode
, moving it from the open set to the closed set.void
int
void
Close a givenAStarNode
, moving or adding it from the frontier to the open set.void
boolean
AStarStorage.shouldExamine
(AStarNode neighbour) Returns whether to examine a givenAStarNode
.boolean
SimpleAStarStorage.shouldExamine
(AStarNode neighbour) -
Uses of AStarNode in net.citizensnpcs.api.astar.pathfinder