#include <gc_oracle.H>
Public Member Functions | |
| gc_oracle_t (double cell_size_) | |
| virtual | ~gc_oracle_t () |
| void | set_map_grid (map_grid_t *grid_) |
| void | set_search_grid (search_grid_t *grid_) |
| virtual void | init (double orient_, double sx_, double sy_, double gx_, double gy_)=0 |
| float | cost (search_grid_t::iterator_t const &iter) |
| unsigned | sequence () const |
| float | max_cost () const |
| virtual void | set_vehicle_position (float vx, float vy)=0 |
Protected Member Functions | |
| virtual void | update (search_grid_t::iterator_t const &dest_iter)=0 |
| void | split_coord (double c_, int &i_, float &f_) const |
Protected Attributes | |
| double const | m_cell_size |
| float | m_max_cost |
| double | m_orient |
| unsigned | m_sequence |
| map_grid_t * | m_map_grid |
| search_grid_t * | m_search_grid |
| float | m_vehicle_x |
| float | m_vehicle_y |
| cajun::gc_oracle_t::gc_oracle_t | ( | double | cell_size_ | ) | [inline] |
| virtual cajun::gc_oracle_t::~gc_oracle_t | ( | ) | [inline, virtual] |
| float cajun::gc_oracle_t::cost | ( | search_grid_t::iterator_t const & | iter | ) | [inline] |
References m_sequence, and update().
Referenced by cajun::curved_path_extractor_t::approaching_wrong(), cajun::curved_path_extractor_t::create_ith_child(), cajun::basic_path_extractor_t::extract(), cajun::curved_path_extractor_t::get_cost_at_xy(), cajun::curved_path_extractor_t::point_over_bad_part(), cajun::curved_path_extractor_t::reached_goal(), cajun::curved_path_extractor_t::through_bad_part(), and cajun::wave_gc_oracle_t::update().
| virtual void cajun::gc_oracle_t::init | ( | double | orient_, | |
| double | sx_, | |||
| double | sy_, | |||
| double | gx_, | |||
| double | gy_ | |||
| ) | [pure virtual] |
Implemented in cajun::wave_gc_oracle_t.
Referenced by cajun::path_extractor_t::extract().
| float cajun::gc_oracle_t::max_cost | ( | ) | const [inline] |
References m_max_cost.
Referenced by cajun::zone_planner_t::publish_grids().
| unsigned cajun::gc_oracle_t::sequence | ( | ) | const [inline] |
References m_sequence.
Referenced by cajun::zone_planner_t::publish_grids().
| void cajun::gc_oracle_t::set_map_grid | ( | map_grid_t * | grid_ | ) | [inline] |
References m_map_grid.
Referenced by cajun::zone_planner_t::zone_planner_t().
| void cajun::gc_oracle_t::set_search_grid | ( | search_grid_t * | grid_ | ) | [inline] |
References m_search_grid.
Referenced by cajun::zone_planner_t::zone_planner_t().
| virtual void cajun::gc_oracle_t::set_vehicle_position | ( | float | vx, | |
| float | vy | |||
| ) | [pure virtual] |
Implemented in cajun::wave_gc_oracle_t.
Referenced by cajun::zone_planner_t::generate_path().
| void cajun::gc_oracle_t::split_coord | ( | double | c_, | |
| int & | i_, | |||
| float & | f_ | |||
| ) | const [inline, protected] |
References m_cell_size.
Referenced by cajun::wave_gc_oracle_t::init().
| virtual void cajun::gc_oracle_t::update | ( | search_grid_t::iterator_t const & | dest_iter | ) | [protected, pure virtual] |
Implemented in cajun::wave_gc_oracle_t.
Referenced by cost().
double const cajun::gc_oracle_t::m_cell_size [protected] |
Referenced by split_coord().
map_grid_t* cajun::gc_oracle_t::m_map_grid [protected] |
Referenced by cajun::wave_gc_oracle_t::init(), and set_map_grid().
float cajun::gc_oracle_t::m_max_cost [protected] |
Referenced by cajun::wave_gc_oracle_t::init(), max_cost(), and cajun::wave_gc_oracle_t::update().
double cajun::gc_oracle_t::m_orient [protected] |
Referenced by cajun::wave_gc_oracle_t::init().
search_grid_t* cajun::gc_oracle_t::m_search_grid [protected] |
Referenced by cajun::wave_gc_oracle_t::init(), and set_search_grid().
unsigned cajun::gc_oracle_t::m_sequence [protected] |
float cajun::gc_oracle_t::m_vehicle_x [protected] |
Referenced by cajun::wave_gc_oracle_t::set_vehicle_position().
float cajun::gc_oracle_t::m_vehicle_y [protected] |
Referenced by cajun::wave_gc_oracle_t::set_vehicle_position().
1.6.1