Modifier and Type | Field and Description |
---|---|
FieldMap<AStarNode> |
AStarRegionNode.routingMap
is used for checking blockages and giving the router a clean map to route
on.
|
java.util.HashSet<AStarNode> |
AStarRegionNode.vPortals |
Modifier and Type | Method and Description |
---|---|
AStarNode |
AStarRegionNode.getEntryPoint() |
AStarNode |
AStarRegionNode.getExitPoint() |
Modifier and Type | Method and Description |
---|---|
FieldMap<AStarNode> |
AStarRegionNode.getMap(boolean vertical) |
Modifier and Type | Method and Description |
---|---|
int |
AStarNode.compareTo(AStarNode o) |
void |
AStarRegionNode.setEntryPoint(AStarNode node) |
void |
AStarRegionNode.setExitPoint(AStarNode node) |
Constructor and Description |
---|
AStarRegionNode(FieldMap<AStarNode> map,
int width,
int height)
This class expects that (0,0) is in the upper left corner of the map.
The capacity is calculated from x = 0 to x = width -1 and y = 0
to y = height -1. |
AStarRegionNode(FieldMap<AStarNode> map,
int width,
int height,
int x,
int y,
int z) |
Modifier and Type | Method and Description |
---|---|
int |
SimpleGoalEightNeighbours.getNodeCost(AStarNode node,
int endX,
int endY,
int endZ) |
int |
SimpleGoal.getNodeCost(AStarNode from,
int endX,
int endY,
int endZ) |
boolean |
SimpleGoalEightNeighbours.isPathFinished(AStarNode currentNode) |
boolean |
SimpleGoal.isPathFinished(AStarNode currentNode) |
void |
SimpleGoalEightNeighbours.setGoalNode(AStarNode goal) |
void |
SimpleGoal.setGoalNode(AStarNode goal) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleGoalEightNeighbours.setNodeStorage(AStarOpenListBase<AStarNode> openList) |
void |
SimpleGoal.setNodeStorage(AStarOpenListBase<AStarNode> openList) |
Modifier and Type | Method and Description |
---|---|
AStarNode |
AStarNodeFactory.create() |
AStarNode |
AStarRegionMachine.findPortal(AStarRegionNode originRegion,
AStarRegionNode targetRegion) |
Modifier and Type | Method and Description |
---|---|
java.util.List<AStarNode> |
AStarMachineSimple.findPath(int startX,
int startY,
int startZ,
int endX,
int endY,
int endZ) |
java.util.List<AStarNode> |
AStarMachineFast.findPath(int startX,
int startY,
int startZ,
int endX,
int endY,
int endZ) |
Modifier and Type | Method and Description |
---|---|
void |
AStarMachineFast.visitNeighbour(AStarNode origin,
int x,
int y,
int z) |
Modifier and Type | Method and Description |
---|---|
void |
AStarMachineSimple.setUpSearchSpace(AStarMapBase<AStarNode> newMap,
AStarGoalBase<AStarNode> newGoal) |
void |
AStarMachineSimple.setUpSearchSpace(AStarMapBase<AStarNode> newMap,
AStarGoalBase<AStarNode> newGoal) |
void |
AStarMachineFast.setUpSearchSpace(AStarMapBase<AStarNode> newMap,
AStarGoalBase<AStarNode> newGoal) |
void |
AStarMachineFast.setUpSearchSpace(AStarMapBase<AStarNode> newMap,
AStarGoalBase<AStarNode> newGoal) |
Constructor and Description |
---|
AStarMachineFast(ObjectPool<AStarNode> nodePool) |
AStarMachineSimple(ObjectPool<AStarNode> nodePool) |
Modifier and Type | Field and Description |
---|---|
FieldMap<AStarNode> |
Region.map |
Modifier and Type | Method and Description |
---|---|
AStarNode |
AStarNodeObjectPool.acquire() |
Modifier and Type | Method and Description |
---|---|
void |
AStarNodeObjectPool.release(AStarNode object) |
Modifier and Type | Method and Description |
---|---|
AStarNode |
AStarClosedListHashMap.findClosedNode(int x,
int y,
int z) |
AStarNode |
AStarOpenListPriorityQueue2.findOpenNode(int x,
int y,
int z) |
AStarNode |
AStarOpenListPriorityQueue.findOpenNode(int x,
int y,
int z) |
AStarNode |
AStarOpenListPriorityQueue2.removeCheapestOpenNode() |
AStarNode |
AStarOpenListPriorityQueue.removeCheapestOpenNode() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<AStarNode> |
AStarClosedListHashMap.dumpClosedList() |
java.util.Collection<AStarNode> |
AStarOpenListPriorityQueue2.dumpOpenList() |
java.util.Collection<AStarNode> |
AStarOpenListPriorityQueue.dumpOpenList() |
Modifier and Type | Method and Description |
---|---|
void |
AStarClosedListHashMap.addNodeToClosedList(AStarNode node) |
void |
AStarOpenListPriorityQueue2.addNodeToOpenList(AStarNode node) |
void |
AStarOpenListPriorityQueue.addNodeToOpenList(AStarNode node) |
void |
AStarClosedListHashMap.removeNodeFromClosedList(AStarNode node) |
void |
AStarOpenListPriorityQueue2.removeNodeFromOpenList(AStarNode node) |
void |
AStarOpenListPriorityQueue.removeNodeFromOpenList(AStarNode node) |
Modifier and Type | Method and Description |
---|---|
void |
AStarOpenListPriorityQueue2.setMap(AStarMapBase<AStarNode> map) |
void |
AStarOpenListPriorityQueue.setMap(AStarMapBase<AStarNode> map) |
void |
AStarClosedListHashMap.setMap(AStarMapBase<AStarNode> map) |