#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...
|
| |
| virtual | ~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) |
| |
| virtual | ~Expander () |
| |
|
| 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.
◆ DijkstraExpansion()
| global_planner::DijkstraExpansion::DijkstraExpansion |
( |
PotentialCalculator * |
p_calc, |
|
|
int |
nx, |
|
|
int |
ny |
|
) |
| |
◆ ~DijkstraExpansion()
| global_planner::DijkstraExpansion::~DijkstraExpansion |
( |
| ) |
|
|
virtual |
◆ calculatePotentials()
| 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 |
◆ getCost()
| 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.
◆ setNeutralCost()
| void global_planner::DijkstraExpansion::setNeutralCost |
( |
unsigned char |
neutral_cost | ) |
|
|
inline |
◆ setPreciseStart()
| void global_planner::DijkstraExpansion::setPreciseStart |
( |
bool |
precise | ) |
|
|
inline |
◆ setSize()
| void global_planner::DijkstraExpansion::setSize |
( |
int |
nx, |
|
|
int |
ny |
|
) |
| |
Sets or resets the size of the map.
- Parameters
-
| nx | The x size of the map |
| ny | The y size of the map sets or resets the size of the map |
Definition at line 99 of file dijkstra.cpp.
◆ updateCell()
| 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 228 of file dijkstra.cpp.
◆ buffer1_
| int* global_planner::DijkstraExpansion::buffer1_ |
|
private |
block priority buffers
Definition at line 98 of file dijkstra.h.
◆ buffer2_
| int * global_planner::DijkstraExpansion::buffer2_ |
|
private |
◆ buffer3_
| int * global_planner::DijkstraExpansion::buffer3_ |
|
private |
storage buffers for priority blocks
Definition at line 98 of file dijkstra.h.
◆ currentBuffer_
| int* global_planner::DijkstraExpansion::currentBuffer_ |
|
private |
◆ currentEnd_
| int global_planner::DijkstraExpansion::currentEnd_ |
|
private |
◆ nextBuffer_
| int * global_planner::DijkstraExpansion::nextBuffer_ |
|
private |
◆ nextEnd_
| int global_planner::DijkstraExpansion::nextEnd_ |
|
private |
◆ overBuffer_
| int * global_planner::DijkstraExpansion::overBuffer_ |
|
private |
priority buffer block ptrs
Definition at line 99 of file dijkstra.h.
◆ overEnd_
| int global_planner::DijkstraExpansion::overEnd_ |
|
private |
◆ pending_
| bool* global_planner::DijkstraExpansion::pending_ |
|
private |
pending_ cells during propagation
Definition at line 101 of file dijkstra.h.
◆ precise_
| bool global_planner::DijkstraExpansion::precise_ |
|
private |
◆ priorityIncrement_
| float global_planner::DijkstraExpansion::priorityIncrement_ |
|
private |
priority threshold increment
Definition at line 106 of file dijkstra.h.
◆ threshold_
| 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: