#include <astar.h>
Public Member Functions | |
AStarExpansion (PotentialCalculator *p_calc, int nx, int ny) | |
bool | calculatePotentials (unsigned char *costs, double start_x, double start_y, double end_x, double end_y, int cycles, float *potential) |
Private Member Functions | |
void | add (unsigned char *costs, float *potential, float prev_potential, int next_i, int end_x, int end_y) |
Private Attributes | |
std::vector< Index > | queue_ |
global_planner::AStarExpansion::AStarExpansion | ( | PotentialCalculator * | p_calc, |
int | nx, | ||
int | ny | ||
) |
void global_planner::AStarExpansion::add | ( | unsigned char * | costs, |
float * | potential, | ||
float | prev_potential, | ||
int | next_i, | ||
int | end_x, | ||
int | end_y | ||
) | [private] |
bool global_planner::AStarExpansion::calculatePotentials | ( | unsigned char * | costs, |
double | start_x, | ||
double | start_y, | ||
double | end_x, | ||
double | end_y, | ||
int | cycles, | ||
float * | potential | ||
) | [virtual] |
Implements global_planner::Expander.
std::vector<Index> global_planner::AStarExpansion::queue_ [private] |