| Package | Description |
|---|---|
| model.agent.humanAgent.aatom.tacticalLevel.navigation.pathfinder |
The collection of path finding algorithms.
|
| Modifier and Type | Field and Description |
|---|---|
private AStarNode[][] |
AStarPathFinder.graph
The graph in array format.
|
protected AStarNode |
AStarNode.previous
The predecessor of the node.
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.ArrayList<AStarNode> |
AStarPathFinder.closed
The set of nodes that have been searched through
|
private java.util.ArrayList<AStarNode> |
AStarPathFinder.open
The set of nodes that we do not yet consider fully searched
|
| Modifier and Type | Method and Description |
|---|---|
private AStarNode |
AStarPathFinder.getNodeFromPosition(Position position)
Gets a AStar node from a
Position. |
| Modifier and Type | Method and Description |
|---|---|
private java.util.Collection<AStarNode> |
AStarPathFinder.getNeighbors(AStarNode node)
Gets the neighbors of a
AStarNode. |
| Modifier and Type | Method and Description |
|---|---|
int |
AStarNode.compareTo(AStarNode o) |
private double |
AStarPathFinder.getHeuristicDistance(AStarNode node,
AStarNode goal)
Gets the heuristic distance between two
AStarNodes. |
private java.util.Collection<AStarNode> |
AStarPathFinder.getNeighbors(AStarNode node)
Gets the neighbors of a
AStarNode. |
private Position |
AStarPathFinder.getPositionFromNode(AStarNode node)
Gets a
Position from a A Star Node. |