#include <wave_gc_oracle.H>
Classes | |
| struct | neighbor_t |
Public Member Functions | |
| wave_gc_oracle_t (double cell_size_, int neighbor_mode_, work_list_interface_t *work_list_) | |
| ~wave_gc_oracle_t () | |
| void | init (double orient_, double sx_, double sy_, double gx_, double gy_) |
| virtual void | set_vehicle_position (float vx, float vy) |
| void | expand_goal (work_info_t &wi_) |
| void | update (search_grid_t::iterator_t const &dest_iter) |
Public Attributes | |
| std::vector< neighbor_t > | m_neighbor |
| std::vector< neighbor_t > | m_goal_neighbor |
| work_list_interface_t * | m_work_list |
| wave_gc_oracle_t::wave_gc_oracle_t | ( | double | cell_size_, | |
| int | neighbor_mode_, | |||
| work_list_interface_t * | work_list_ | |||
| ) |
References COST_5X5_, COST_5X5_1, COST_5X5_2, COST_X_1, COST_X_2, m_goal_neighbor, m_neighbor, m_work_list, message, and msg_logger.
| wave_gc_oracle_t::~wave_gc_oracle_t | ( | ) |
References m_work_list.
| void wave_gc_oracle_t::expand_goal | ( | work_info_t & | wi_ | ) |
References cajun::work_list_interface_t::add(), cajun::map_cell_t::BLOCKED_CELL, cajun::work_info_t::cost, DELTA_SCALE, cajun::wave_gc_oracle_t::neighbor_t::dx, cajun::wave_gc_oracle_t::neighbor_t::dy, FRACTION_BITS, cajun::work_info_t::hcost, cajun::work_list_interface_t::init_traverse(), m_goal_neighbor, cajun::gc_oracle_t::m_sequence, m_work_list, cajun::wave_gc_oracle_t::neighbor_t::map_dx, cajun::wave_gc_oracle_t::neighbor_t::map_dy, cajun::work_info_t::map_px, cajun::work_info_t::map_py, cajun::work_info_t::mcell, and cajun::work_info_t::scell.
Referenced by init().
| void wave_gc_oracle_t::init | ( | double | orient_, | |
| double | sx_, | |||
| double | sy_, | |||
| double | gx_, | |||
| double | gy_ | |||
| ) | [virtual] |
Implements cajun::gc_oracle_t.
References cajun::work_list_interface_t::clear(), DELTA_SCALE, cajun::wave_gc_oracle_t::neighbor_t::dx, cajun::wave_gc_oracle_t::neighbor_t::dy, expand_goal(), m_goal_neighbor, cajun::gc_oracle_t::m_map_grid, cajun::gc_oracle_t::m_max_cost, m_neighbor, cajun::gc_oracle_t::m_orient, cajun::gc_oracle_t::m_search_grid, cajun::gc_oracle_t::m_sequence, m_work_list, cajun::wave_gc_oracle_t::neighbor_t::map_dx, cajun::wave_gc_oracle_t::neighbor_t::map_dy, cajun::work_info_t::map_px, cajun::work_info_t::map_py, cajun::work_info_t::mcell, cajun::work_info_t::scell, and cajun::gc_oracle_t::split_coord().
| void wave_gc_oracle_t::set_vehicle_position | ( | float | vx, | |
| float | vy | |||
| ) | [virtual] |
| void wave_gc_oracle_t::update | ( | search_grid_t::iterator_t const & | dest_iter | ) | [virtual] |
Implements cajun::gc_oracle_t.
References cajun::work_list_interface_t::add(), cajun::map_cell_t::BLOCKED_CELL, cajun::search_cell_t::BLOCKED_CELL, cajun::wave_gc_oracle_t::neighbor_t::cost, cajun::gc_oracle_t::cost(), cajun::work_info_t::cost, DELTA_SCALE, cajun::wave_gc_oracle_t::neighbor_t::dx, cajun::wave_gc_oracle_t::neighbor_t::dy, FRACTION_BITS, cajun::work_list_interface_t::get(), cajun::work_info_t::hcost, cajun::gc_oracle_t::m_max_cost, m_neighbor, cajun::gc_oracle_t::m_sequence, m_work_list, cajun::wave_gc_oracle_t::neighbor_t::map_dx, cajun::wave_gc_oracle_t::neighbor_t::map_dy, cajun::work_info_t::map_px, cajun::work_info_t::map_py, cajun::work_info_t::mcell, cajun::work_list_interface_t::remove(), and cajun::work_info_t::scell.
| std::vector<neighbor_t> cajun::wave_gc_oracle_t::m_goal_neighbor |
Referenced by expand_goal(), init(), and wave_gc_oracle_t().
| std::vector<neighbor_t> cajun::wave_gc_oracle_t::m_neighbor |
Referenced by init(), update(), and wave_gc_oracle_t().
Referenced by expand_goal(), init(), set_vehicle_position(), update(), wave_gc_oracle_t(), and ~wave_gc_oracle_t().
1.6.1