|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Manhattan distance heuristic for A* in grid graphs. More...
#include <AStar.H>
Public Types | |
| using | Distance_Type = typename Distance::Distance_Type |
Public Member Functions | |
| Distance_Type | operator() (typename GT::Node *from, typename GT::Node *to) const |
Manhattan distance heuristic for A* in grid graphs.
Example heuristic for graphs where nodes have (x, y) coordinates and movement is restricted to horizontal/vertical directions.
| using Aleph::Manhattan_Heuristic< GT, Distance >::Distance_Type = typename Distance::Distance_Type |
|
inline |
Definition at line 979 of file AStar.H.
References Aleph::maps().