29 #ifndef BACKTRACKING_RESOLUTION_H 30 #define BACKTRACKING_RESOLUTION_H 62 std::vector<std::reference_wrapper<Vertex>>
resolve(
Vertex &_current,
Vertex &_next, int32_t _collision);
76 void trackBack(
Vertex &_current,
Vertex &_next,
const int32_t _collision,
const float _freePotential);
std::vector< std::vector< std::unique_ptr< Vertex > > > generatedSubgraphs_
std::vector< std::reference_wrapper< Vertex > > resolve(Vertex &_current, Vertex &_next, int32_t _collision)
resolves a found collision between two robots.
void trackBack(Vertex &_current, Vertex &_next, const int32_t _collision, const float _freePotential)
void resetSession(const RouteCoordinatorWrapper *_route_querry, const PotentialCalculator *_pCalc, const uint32_t _robot_radius)
resets the session (setting the new route querry and potential calculator)
bool avoidStartSuccessorDone_
void saveCollision(const uint32_t _coll)
increases the collision count of one robot
void addCollision(const uint32_t robot)
const std::vector< uint32_t > & getRobotCollisions() const
returns amount of robot collisions found in each resolve try after resetSession
const RouteCoordinatorWrapper * route_querry_
bool avoidStartPredecessorDone_
uint32_t resolutionAttemp_
std::vector< uint32_t > encounteredCollisions_
const PotentialCalculator * pCalc_
std::vector< std::reference_wrapper< Vertex > > foundSolutions_