54 #ifndef _GAMS_ALGORITHMS_BASE_ALGORITHM_H_ 55 #define _GAMS_ALGORITHMS_BASE_ALGORITHM_H_ 62 #include "madara/knowledge/KnowledgeBase.h" 110 madara::knowledge::KnowledgeBase * knowledge = 0,
131 virtual int analyze (
void) = 0;
137 virtual int execute (
void) = 0;
143 virtual int plan (
void) = 0;
177 madara::knowledge::KnowledgeBase * get_knowledge_base (
void);
229 #endif // _GAMS_VARIABLES_SWARM_H_
A container for algorithm status information.
variables::AlgorithmStatus status_
provides access to status information for this platform
std::vector< BaseAlgorithm * > Algorithms
std::map< std::string, Sensor * > Sensors
a map of sensor names to the sensor information
Copyright (c) 2014 Carnegie Mellon University.
std::vector< Agent > Agents
An array of agent knowledge.
Copyright (c) 2014 Carnegie Mellon University.
platforms::BasePlatform * platform_
provides access to the platform
AlgorithmAnalyzeStatus
Possible algorithm statuses, as returnable by analyze ()
Contains all GAMS-related tools, classes and code.
A container for self referencing information.
madara::knowledge::KnowledgeBase * knowledge_
provides access to the knowledge base
The base class that algorithms in GAMS use.
variables::Self * self_
the algorithm's concept of self
The basic controller that can be used to perform actions on platforms and algorithms.
A controller that has the capability of starting many different threads.
variables::Agents * agents_
the list of agents potentially participating in the algorithm
variables::Sensors * sensors_
provides access to sensor information
unsigned int executions_
number of executions