#include <backtracking_resolution.h>
Definition at line 38 of file backtracking_resolution.h.
multi_robot_router::BacktrackingResolution::BacktrackingResolution |
( |
uint32_t |
_timeoverlap | ) |
|
constructor
- Parameters
-
_timeoverlap | the timeoverlap used for assigning new vertices (e.g. Vertex _current form 0 to 10 + timeoverlap Vertex _nex from 10 - timeoverlap to 20 + timeoverlap) |
Definition at line 35 of file backtracking_resolution.cpp.
multi_robot_router::BacktrackingResolution::BacktrackingResolution |
( |
| ) |
|
void multi_robot_router::BacktrackingResolution::addCollision |
( |
const uint32_t |
robot | ) |
|
|
private |
const std::vector< uint32_t > & multi_robot_router::BacktrackingResolution::getRobotCollisions |
( |
| ) |
const |
|
virtual |
resets the session (setting the new route querry and potential calculator)
- Parameters
-
_route_querry | the route coordinator to coordinate paths |
_pCalc | the potential calculator for assigning potential to expanded Vertices |
_robot_radius | the radius of the current robot |
Implements multi_robot_router::CollisionResolution.
Definition at line 43 of file backtracking_resolution.cpp.
std::vector< std::reference_wrapper< Vertex > > multi_robot_router::BacktrackingResolution::resolve |
( |
Vertex & |
_current, |
|
|
Vertex & |
_next, |
|
|
int32_t |
_collision |
|
) |
| |
|
virtual |
resolves a found collision between two robots.
- Parameters
-
_current | the last expanded vertex |
_next | the vertex to expand to |
_collision | the index of the colliding robot |
- Returns
- a vector of references to Vertices where the Potential Expander can continue expanding
Implements multi_robot_router::CollisionResolution.
Definition at line 73 of file backtracking_resolution.cpp.
void multi_robot_router::BacktrackingResolution::saveCollision |
( |
const uint32_t |
_coll | ) |
|
|
virtual |
void multi_robot_router::BacktrackingResolution::trackBack |
( |
Vertex & |
_current, |
|
|
Vertex & |
_next, |
|
|
const int32_t |
_collision, |
|
|
const float |
_freePotential |
|
) |
| |
|
private |
bool multi_robot_router::BacktrackingResolution::avoidStartPredecessorDone_ = false |
|
private |
bool multi_robot_router::BacktrackingResolution::avoidStartSuccessorDone_ = false |
|
private |
std::vector<uint32_t> multi_robot_router::BacktrackingResolution::encounteredCollisions_ |
|
private |
std::vector<std::reference_wrapper<Vertex> > multi_robot_router::BacktrackingResolution::foundSolutions_ |
|
private |
std::vector<std::vector<std::unique_ptr<Vertex> > > multi_robot_router::BacktrackingResolution::generatedSubgraphs_ |
|
private |
uint32_t multi_robot_router::BacktrackingResolution::resolutionAttemp_ = 0 |
|
private |
uint32_t multi_robot_router::BacktrackingResolution::robotDiameter_ |
|
private |
uint32_t multi_robot_router::BacktrackingResolution::timeoverlap_ |
|
private |
The documentation for this class was generated from the following files: