Package | Description |
---|---|
model.agent.humanAgent.aatom.tacticalLevel.navigation.pathfinder |
The collection of path finding algorithms.
|
Modifier and Type | Field and Description |
---|---|
private JumpPointNode |
JumpPointSearchPathFinder.goalNode
The goal node.
|
private JumpPointNode[][] |
JumpPointSearchPathFinder.graph
The graph in array format.
|
protected JumpPointNode |
JumpPointNode.parent
The parent.
|
Modifier and Type | Method and Description |
---|---|
private JumpPointNode |
JumpPointSearchPathFinder.getNextNode(java.util.ArrayList<JumpPointNode> openList)
Gets the next node from the open list.
|
private JumpPointNode |
JumpPointSearchPathFinder.getNode(int x,
int y)
Gets a node from its coordinates.
|
private JumpPointNode |
JumpPointSearchPathFinder.getNodeFromPosition(Position position)
Gets a JPS node from a
Position . |
private JumpPointNode |
JumpPointSearchPathFinder.jump(JumpPointNode child,
JumpPointNode parent)
Perform the jump.
|
Modifier and Type | Method and Description |
---|---|
private java.util.Collection<JumpPointNode> |
JumpPointSearchPathFinder.getNeighbors(JumpPointNode node)
Gets the neighbors of a
JumpPointNode . |
Modifier and Type | Method and Description |
---|---|
private void |
JumpPointSearchPathFinder.doSuccessor(JumpPointNode node,
java.util.ArrayList<JumpPointNode> openList)
Performs the successor step in the algorithm.
|
private float |
JumpPointSearchPathFinder.getDistance(JumpPointNode first,
JumpPointNode second)
Gets the distance between two nodes.
|
private java.util.Collection<JumpPointNode> |
JumpPointSearchPathFinder.getNeighbors(JumpPointNode node)
Gets the neighbors of a
JumpPointNode . |
private Position |
JumpPointSearchPathFinder.getPositionFromNode(JumpPointNode node)
Gets a
Position from a A Star Node. |
private JumpPointNode |
JumpPointSearchPathFinder.jump(JumpPointNode child,
JumpPointNode parent)
Perform the jump.
|
Modifier and Type | Method and Description |
---|---|
private void |
JumpPointSearchPathFinder.doSuccessor(JumpPointNode node,
java.util.ArrayList<JumpPointNode> openList)
Performs the successor step in the algorithm.
|
private JumpPointNode |
JumpPointSearchPathFinder.getNextNode(java.util.ArrayList<JumpPointNode> openList)
Gets the next node from the open list.
|