travel_pathfind Class Reference

#include <travel.h>

Inheritance diagram for travel_pathfind:

Inheritance graph
[legend]
Collaboration diagram for travel_pathfind:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 travel_pathfind ()
virtual ~travel_pathfind ()
coord_def pathfind (run_mode_type rt)
void set_floodseed (const coord_def &seed, bool double_flood=false)
void set_src_dst (const coord_def &src, const coord_def &dst)
void set_annotate_map (bool annotate)
void set_distance_grid (travel_distance_grid_t distgrid)
void set_feature_vector (std::vector< coord_def > *features)
void get_features ()
const coord_def travel_move () const
const coord_def explore_target () const
const coord_def greedy_square () const
const coord_def unexplored_square () const

Protected Member Functions

bool is_greed_inducing_square (const coord_def &c) const
bool path_examine_point (const coord_def &c)
virtual bool point_traverse_delay (const coord_def &c)
virtual bool path_flood (const coord_def &c, const coord_def &dc)
bool square_slows_movement (const coord_def &c)
void check_square_greed (const coord_def &c)
void good_square (const coord_def &c)

Protected Attributes

run_mode_type runmode
coord_def start
coord_def dest
coord_def next_travel_move
bool floodout
bool double_flood
bool ignore_hostile
bool annotate_map
const LevelStashesls
bool need_for_greed
coord_def unexplored_place
coord_def greedy_place
int unexplored_dist
int greedy_dist
const int * refdist
std::vector< coord_defreseed_points
std::vector< coord_def > * features
travel_distance_colpoint_distance
int points
int next_iter_points
int traveled_distance
int circ_index

Static Protected Attributes

static const int UNFOUND_DIST = -30000
static const int INFINITE_DIST = INFINITE_DISTANCE
static FixedVector< coord_def,
GXM *GYM > 
circumference [2]


Constructor & Destructor Documentation

travel_pathfind::travel_pathfind (  ) 

travel_pathfind::~travel_pathfind (  )  [virtual]


Member Function Documentation

coord_def travel_pathfind::pathfind ( run_mode_type  rt  ) 

Here is the call graph for this function:

void travel_pathfind::set_floodseed ( const coord_def seed,
bool  double_flood = false 
)

Here is the call graph for this function:

void travel_pathfind::set_src_dst ( const coord_def src,
const coord_def dst 
)

void travel_pathfind::set_annotate_map ( bool  annotate  ) 

void travel_pathfind::set_distance_grid ( travel_distance_grid_t  distgrid  ) 

void travel_pathfind::set_feature_vector ( std::vector< coord_def > *  features  ) 

void travel_pathfind::get_features (  ) 

Here is the call graph for this function:

const coord_def travel_pathfind::travel_move (  )  const

const coord_def travel_pathfind::explore_target (  )  const

const coord_def travel_pathfind::greedy_square (  )  const

const coord_def travel_pathfind::unexplored_square (  )  const

bool travel_pathfind::is_greed_inducing_square ( const coord_def c  )  const [protected]

bool travel_pathfind::path_examine_point ( const coord_def c  )  [protected]

Here is the call graph for this function:

bool travel_pathfind::point_traverse_delay ( const coord_def c  )  [protected, virtual]

Here is the call graph for this function:

bool travel_pathfind::path_flood ( const coord_def c,
const coord_def dc 
) [protected, virtual]

Reimplemented in flood_find< fgrd, bound_check >, and newmons_square_find.

Here is the call graph for this function:

bool travel_pathfind::square_slows_movement ( const coord_def c  )  [protected]

Here is the call graph for this function:

void travel_pathfind::check_square_greed ( const coord_def c  )  [protected]

Here is the call graph for this function:

void travel_pathfind::good_square ( const coord_def c  )  [protected]


Member Data Documentation

const int travel_pathfind::UNFOUND_DIST = -30000 [static, protected]

const int travel_pathfind::INFINITE_DIST = INFINITE_DISTANCE [static, protected]

bool travel_pathfind::floodout [protected]

const LevelStashes* travel_pathfind::ls [protected]

const int* travel_pathfind::refdist [protected]

std::vector<coord_def> travel_pathfind::reseed_points [protected]

std::vector<coord_def>* travel_pathfind::features [protected]

int travel_pathfind::points [protected]

int travel_pathfind::circ_index [protected]

FixedVector< coord_def, GXM *GYM > travel_pathfind::circumference [static, protected]


The documentation for this class was generated from the following files:

Generated on Thu Jan 13 13:42:51 2011 by  doxygen 1.5.6