54 #ifndef _GAMS_ALGORITHMS_GROUP_BARRIER_H_ 55 #define _GAMS_ALGORITHMS_GROUP_BARRIER_H_ 67 #include "madara/knowledge/containers/Integer.h" 68 #include "madara/knowledge/containers/Barrier.h" 69 #include "madara/utility/EpochEnforcer.h" 93 const std::vector<std::string> & members,
94 std::string barrier_name,
96 madara::knowledge::KnowledgeBase * knowledge = 0,
116 virtual int analyze (
void);
122 virtual int execute (
void);
128 virtual int plan (
void);
137 int get_position_in_member_list (std::string
id,
138 std::vector <std::string> & member_list);
150 madara::utility::EpochEnforcer<std::chrono::steady_clock>
enforcer_;
181 const madara::knowledge::KnowledgeMap & args,
182 madara::knowledge::KnowledgeBase * knowledge,
191 #endif // _GAMS_ALGORITHMS_GROUP_BARRIER_H_ An algorithm for covering an area in formation with a synchronous model of computation.
Base class for algorithm factories that classes derived from.
A factory class for creating Formation Coverage algorithms.
madara::utility::EpochEnforcer< std::chrono::steady_clock > enforcer_
enforcer of barrier times
Copyright (c) 2014 Carnegie Mellon University.
std::map< std::string, Sensor * > Sensors
a map of sensor names to the sensor information
int position_
position in member assignment
Copyright (c) 2014 Carnegie Mellon University.
std::vector< Agent > Agents
An array of agent knowledge.
Copyright (c) 2014 Carnegie Mellon University.
Contains all GAMS-related tools, classes and code.
A container for self referencing information.
The base class that algorithms in GAMS use.
Copyright (c) 2014 Carnegie Mellon University.
std::vector< std::string > members_
members of the formation (e.g., agent.0, agent.1, etc.)
madara::knowledge::containers::Barrier barrier_
movement barrier
Copyright (c) 2014 Carnegie Mellon University.