#include <a_star_planner.h>
|
double | calculateHeuristicCost (int x, int y, int x_goal, int y_goal, double min_cell_cost) |
|
void | deleteMap () |
|
void | expandCell (CellInfo *c, int dx, int dy, double cost_factor, double **visited_map, int x_goal, int y_goal, double min_cell_cost, std::priority_queue< CellInfo *, std::vector< CellInfo * >, compareCellInfos > &Q) |
|
double | getCost (int x, int y) |
|
Definition at line 27 of file a_star_planner.h.
◆ AStarPlanner()
cb_global_planner::AStarPlanner::AStarPlanner |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
◆ ~AStarPlanner()
cb_global_planner::AStarPlanner::~AStarPlanner |
( |
| ) |
|
|
virtual |
◆ calculateHeuristicCost()
double cb_global_planner::AStarPlanner::calculateHeuristicCost |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
x_goal, |
|
|
int |
y_goal, |
|
|
double |
min_cell_cost |
|
) |
| |
|
protected |
◆ deleteMap()
void cb_global_planner::AStarPlanner::deleteMap |
( |
| ) |
|
|
protected |
◆ expandCell()
void cb_global_planner::AStarPlanner::expandCell |
( |
CellInfo * |
c, |
|
|
int |
dx, |
|
|
int |
dy, |
|
|
double |
cost_factor, |
|
|
double ** |
visited_map, |
|
|
int |
x_goal, |
|
|
int |
y_goal, |
|
|
double |
min_cell_cost, |
|
|
std::priority_queue< CellInfo *, std::vector< CellInfo * >, compareCellInfos > & |
Q |
|
) |
| |
|
protected |
◆ getCost()
double cb_global_planner::AStarPlanner::getCost |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
protected |
◆ plan()
bool cb_global_planner::AStarPlanner::plan |
( |
std::vector< unsigned int > |
mx_start, |
|
|
std::vector< unsigned int > |
my_start, |
|
|
int |
mx_goal, |
|
|
int |
my_goal, |
|
|
std::vector< int > & |
plan_xs, |
|
|
std::vector< int > & |
plan_ys, |
|
|
bool |
best_heuristic = false |
|
) |
| |
◆ resize()
void cb_global_planner::AStarPlanner::resize |
( |
int |
nx, |
|
|
int |
ny |
|
) |
| |
◆ setCostmap()
void cb_global_planner::AStarPlanner::setCostmap |
( |
const unsigned char * |
char_cost_map | ) |
|
◆ char_cost_map_
const unsigned char* cb_global_planner::AStarPlanner::char_cost_map_ |
|
protected |
◆ height_
unsigned int cb_global_planner::AStarPlanner::height_ |
|
protected |
◆ N_OBJECTS
long cb_global_planner::AStarPlanner::N_OBJECTS = 0 |
|
staticprotected |
◆ SQRT2
constexpr double cb_global_planner::AStarPlanner::SQRT2 = 1.414213562 |
|
staticconstexprprotected |
◆ visited_map_
double** cb_global_planner::AStarPlanner::visited_map_ |
|
protected |
◆ width_
unsigned int cb_global_planner::AStarPlanner::width_ |
|
protected |
The documentation for this class was generated from the following files: