#include <empty_resolution.h>
Definition at line 38 of file empty_resolution.h.
multi_robot_router::EmptyResolution::EmptyResolution |
( |
| ) |
|
void multi_robot_router::EmptyResolution::addCollision |
( |
uint32_t |
_collision | ) |
|
|
private |
const std::vector< uint32_t > & multi_robot_router::EmptyResolution::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 39 of file empty_resolution.cpp.
std::vector< std::reference_wrapper< Vertex > > multi_robot_router::EmptyResolution::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 62 of file empty_resolution.cpp.
void multi_robot_router::EmptyResolution::saveCollision |
( |
const uint32_t |
_coll | ) |
|
|
virtual |
std::vector<uint32_t> multi_robot_router::EmptyResolution::encounteredCollisions_ |
|
private |
std::vector<std::reference_wrapper<Vertex> > multi_robot_router::EmptyResolution::foundSolutions_ |
|
private |
The documentation for this class was generated from the following files: