#include <pathfind.hpp>

Public Member Functions | |
| cost_calculator () | |
| virtual double | cost (const map_location &loc, const double so_far) const =0 |
| virtual | ~cost_calculator () |
Static Public Member Functions | |
| static double | getNoPathValue () |
Definition at line 59 of file pathfind.hpp.
| pathfind::cost_calculator::cost_calculator | ( | ) | [inline] |
Definition at line 61 of file pathfind.hpp.
| virtual pathfind::cost_calculator::~cost_calculator | ( | ) | [inline, virtual] |
Definition at line 64 of file pathfind.hpp.
| virtual double pathfind::cost_calculator::cost | ( | const map_location & | loc, | |
| const double | so_far | |||
| ) | const [pure virtual] |
Implemented in castle_cost_calculator, ai::testing_ai_default::move_cost_calculator, passage_path_calculator, pathfind::shortest_path_calculator, pathfind::move_type_path_calculator, pathfind::emergency_path_calculator, pathfind::dummy_path_calculator, and lua_calculator.
Referenced by pathfind::a_star_search().

| static double pathfind::cost_calculator::getNoPathValue | ( | ) | [inline, static] |
Definition at line 66 of file pathfind.hpp.
Referenced by pathfind::a_star_search(), wb::move::calculate_new_route(), pathfind::move_type_path_calculator::cost(), pathfind::shortest_path_calculator::cost(), and ai::testing_ai_default::move_cost_calculator::cost().

| Generated by doxygen 1.7.1 on Fri May 25 2012 01:24:41 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |