#include <dijkstra.h>
|
bool | calculatePotentials (unsigned char *costs, double start_x, double start_y, double end_x, double end_y, int cycles, float *potential) |
|
| DijkstraExpansion (PotentialCalculator *p_calc, int nx, int ny) |
|
void | setNeutralCost (unsigned char neutral_cost) |
|
void | setPreciseStart (bool precise) |
|
void | setSize (int nx, int ny) |
| Sets or resets the size of the map. More...
|
|
| ~DijkstraExpansion () |
|
Public Member Functions inherited from global_planner::Expander |
void | clearEndpoint (unsigned char *costs, float *potential, int gx, int gy, int s) |
|
| Expander (PotentialCalculator *p_calc, int nx, int ny) |
|
void | setFactor (float factor) |
|
void | setHasUnknown (bool unknown) |
|
void | setLethalCost (unsigned char lethal_cost) |
|
void | setNeutralCost (unsigned char neutral_cost) |
|
|
float | getCost (unsigned char *costs, int n) |
|
void | updateCell (unsigned char *costs, float *potential, int n) |
| Updates the cell at index n. More...
|
|
Definition at line 56 of file dijkstra.h.
global_planner::DijkstraExpansion::DijkstraExpansion |
( |
PotentialCalculator * |
p_calc, |
|
|
int |
nx, |
|
|
int |
ny |
|
) |
| |
global_planner::DijkstraExpansion::~DijkstraExpansion |
( |
| ) |
|
bool global_planner::DijkstraExpansion::calculatePotentials |
( |
unsigned char * |
costs, |
|
|
double |
start_x, |
|
|
double |
start_y, |
|
|
double |
end_x, |
|
|
double |
end_y, |
|
|
int |
cycles, |
|
|
float * |
potential |
|
) |
| |
|
virtual |
float global_planner::DijkstraExpansion::getCost |
( |
unsigned char * |
costs, |
|
|
int |
n |
|
) |
| |
|
inlineprivate |
updates the cell at index n
Definition at line 86 of file dijkstra.h.
void global_planner::DijkstraExpansion::setNeutralCost |
( |
unsigned char |
neutral_cost | ) |
|
|
inline |
void global_planner::DijkstraExpansion::setPreciseStart |
( |
bool |
precise | ) |
|
|
inline |
void global_planner::DijkstraExpansion::setSize |
( |
int |
nx, |
|
|
int |
ny |
|
) |
| |
|
virtual |
Sets or resets the size of the map.
- Parameters
-
nx | The x size of the map |
ny | The y size of the mapsets or resets the size of the map |
Reimplemented from global_planner::Expander.
Definition at line 63 of file dijkstra.cpp.
void global_planner::DijkstraExpansion::updateCell |
( |
unsigned char * |
costs, |
|
|
float * |
potential, |
|
|
int |
n |
|
) |
| |
|
inlineprivate |
Updates the cell at index n.
- Parameters
-
costs | The costmap |
potential | The potential array in which we are calculating |
n | The index to update |
Definition at line 192 of file dijkstra.cpp.
int* global_planner::DijkstraExpansion::buffer1_ |
|
private |
block priority buffers
Definition at line 98 of file dijkstra.h.
int * global_planner::DijkstraExpansion::buffer2_ |
|
private |
int * global_planner::DijkstraExpansion::buffer3_ |
|
private |
storage buffers for priority blocks
Definition at line 98 of file dijkstra.h.
int* global_planner::DijkstraExpansion::currentBuffer_ |
|
private |
int global_planner::DijkstraExpansion::currentEnd_ |
|
private |
int * global_planner::DijkstraExpansion::nextBuffer_ |
|
private |
int global_planner::DijkstraExpansion::nextEnd_ |
|
private |
int * global_planner::DijkstraExpansion::overBuffer_ |
|
private |
priority buffer block ptrs
Definition at line 99 of file dijkstra.h.
int global_planner::DijkstraExpansion::overEnd_ |
|
private |
bool* global_planner::DijkstraExpansion::pending_ |
|
private |
pending_ cells during propagation
Definition at line 101 of file dijkstra.h.
bool global_planner::DijkstraExpansion::precise_ |
|
private |
float global_planner::DijkstraExpansion::priorityIncrement_ |
|
private |
priority threshold increment
Definition at line 106 of file dijkstra.h.
float global_planner::DijkstraExpansion::threshold_ |
|
private |
block priority thresholds current threshold
Definition at line 105 of file dijkstra.h.
The documentation for this class was generated from the following files: