| Package | Description |
|---|---|
| Catalano.Graph.Pathfinding.AStar |
The Catalano.Graph.Pathfinding.AStar contains AStar (A*) algorithm and classes used.
|
| Modifier and Type | Method and Description |
|---|---|
AStar.Neighbor |
NodeMap.getDirection()
Get direction.
|
AStar.Neighbor |
AStar.getNeighbor()
Get neighbor size of the algorithm.
|
static AStar.Neighbor |
AStar.Neighbor.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AStar.Neighbor[] |
AStar.Neighbor.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NodeMap.setDirection(AStar.Neighbor direction)
Set direction.
|
void |
AStar.setNeighbor(AStar.Neighbor neighbor)
Set neighbor size of the algorithm.
|
| Constructor and Description |
|---|
AStar(double[][] costMap,
AStar.Neighbor neighbor,
AStar.Heuristic heuristic)
Initializes a new instance of the AStar class.
|
AStar(int width,
int height,
double initialCost,
AStar.Neighbor neighbor,
AStar.Heuristic heuristic)
Initializes a new instance of the AStar class.
|
NodeMap(double[][] costMap,
AStar.Neighbor direction,
AStar.Heuristic heuristic)
Initializes a new instance of the NodeMap class.
|
NodeMap(int width,
int height,
double initialCost,
AStar.Neighbor direction,
AStar.Heuristic heuristic)
Initializes a new instance of the NodeMap class.
|