Uses of Interface
net.citizensnpcs.api.astar.AStarStorage
-
Uses of AStarStorage in net.citizensnpcs.api.astar
Modifier and TypeClassDescriptionclass
A base implementation ofAStarStorage
that uses aPriorityQueue
for the frontier andHashMap
s for the open/closed sets.Modifier and TypeMethodDescriptionstatic <N extends AStarNode,
P extends Plan>
AStarMachine<N, P> AStarMachine.createWithStorage
(Supplier<AStarStorage> storageSupplier) Creates an AStarMachine that uses the given
to createAStarStorage
instances.void
AStarMachine.setStorageSupplier
(Supplier<AStarStorage> newSupplier) Sets theSupplier
to use to generate instances ofAStarStorage
for use while searching.