Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
You've currently chosen the 1.91.0 version. If a newer release comes out, you will continue to view the 1.91.0 version, not the new latest release.
astar_heuristic<Graph, CostType>
| Parameter | Description | Default |
|---|---|---|
| Graph | The type of the graph being searched. | |
| CostType | A type that can be used with the compare and combine functions passed to A*. Typically an integer or floating point type. |
| Function | Description |
|---|---|
| CostType operator()(graph_traits<Graph>::vertex_descriptor u); | Called for the target of every out edge of a vertex being examined. Returns the cost, estimated by the heuristic, from vertex u to a goal. |
| Copyright © 2004 | Kristopher Beevers, Rensselaer Polytechnic Institute (beevek@cs.rpi.edu) |