29 #ifndef PRIORITY_SCHEDULER_H 30 #define PRIORITY_SCHEDULER_H 49 void reset(
const uint32_t _nrRobots);
59 bool reschedulePriorities(
const uint32_t _collidingRobot, std::vector<uint32_t> _collsisions, std::vector<uint32_t> &_newSchedule, uint32_t &_firstRobotToReplan);
void reset(const uint32_t _nrRobots)
resets the Priority schedule with an initial priority schedule
PriorityScheduler(const uint32_t _nrRobots)
constructor
std::vector< uint32_t > actualPrioritySchedule_
bool reschedulePriorities(const uint32_t _collidingRobot, std::vector< uint32_t > _collsisions, std::vector< uint32_t > &_newSchedule, uint32_t &_firstRobotToReplan)
rescedules priorities depending on the ound collisions and allready tried schedules ...
std::vector< std::vector< uint32_t > > checkedSchedules_
const std::vector< uint32_t > & getActualSchedule() const
returns the currently produced speed schedule