#include <pathfind.hpp>
Public Member Functions | |
virtual double | cost (const gamemap::location &src, const gamemap::location &loc, const double so_far) const =0 |
virtual | ~cost_calculator () |
double | getNoPathValue (void) const |
Definition at line 75 of file pathfind.hpp.
virtual cost_calculator::~cost_calculator | ( | ) | [inline, virtual] |
Definition at line 78 of file pathfind.hpp.
virtual double cost_calculator::cost | ( | const gamemap::location & | src, | |
const gamemap::location & | loc, | |||
const double | so_far | |||
) | const [pure virtual] |
Implemented in castle_cost_calculator, move_cost_calculator, passage_path_calculator, shortest_path_calculator, and emergency_path_calculator.
Referenced by a_star_explore_neighbours(), and a_star_search().
double cost_calculator::getNoPathValue | ( | void | ) | const [inline] |
Definition at line 79 of file pathfind.hpp.
Referenced by a_star_search(), and shortest_path_calculator::cost().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |