55 #ifndef _GAMS_ALGORITHMS_DEBUG_H_
56 #define _GAMS_ALGORITHMS_DEBUG_H_
60 #include "madara/knowledge/containers/Integer.h"
91 madara::knowledge::KnowledgeBase * knowledge = 0,
95 const std::string & executions_location =
".executions");
161 const madara::knowledge::KnowledgeMap & args,
162 madara::knowledge::KnowledgeBase * knowledge,
Copyright(c) 2014 Carnegie Mellon University.
Copyright(c) 2014 Carnegie Mellon University.
Copyright(c) 2014 Carnegie Mellon University.
Copyright(c) 2014 Carnegie Mellon University.
Base class for algorithm factories that classes derived from.
The base class that algorithms in GAMS use.
A factory class for creating Debug Algorithms.
virtual BaseAlgorithm * create(const madara::knowledge::KnowledgeMap &args, madara::knowledge::KnowledgeBase *knowledge, platforms::BasePlatform *platform, variables::Sensors *sensors, variables::Self *self, variables::Agents *agents)
Creates a Debug Algorithm.
A debug algorithm that prints detailed status information.
madara::knowledge::containers::Integer k_executions_
Used to keep track of algorithm executions in a way that may be referenced from other platforms or al...
void operator=(const DebugAlgorithm &rhs)
Assignment operator.
virtual int analyze(void)
Analyzes environment, platform, or other information.
~DebugAlgorithm()
Destructor.
virtual int execute(void)
Plans the next execution of the algorithm.
virtual int plan(void)
Plans the next execution of the algorithm.
DebugAlgorithm(madara::knowledge::KnowledgeBase *knowledge=0, platforms::BasePlatform *platform=0, variables::Sensors *sensors=0, variables::Self *self=0, const std::string &executions_location=".executions")
Constructor.
A container for self referencing information.
std::map< std::string, Sensor * > Sensors
a map of sensor names to the sensor information
std::vector< Agent > Agents
An array of agent knowledge.
Contains all GAMS-related tools, classes and code.