GAMS  1.4.0
PerformanceProfiling.h
Go to the documentation of this file.
1 
55 #ifndef _GAMS_ALGORITHMS_PERFORMANCE_PROFILING_H_
56 #define _GAMS_ALGORITHMS_PERFORMANCE_PROFILING_H_
57 
60 
61 #include "gams/GamsExport.h"
62 
63 namespace gams
64 {
65  namespace algorithms
66  {
71  {
72  public:
81  madara::knowledge::KnowledgeBase * knowledge = 0,
82  platforms::Base * platform = 0,
83  variables::Sensors * sensors = 0,
84  variables::Self * self = 0);
85 
90 
95  void operator=(const PerformanceProfiling & rhs);
96 
101  virtual int analyze(void);
102 
107  virtual int execute(void);
108 
113  virtual int plan(void);
114  };
115 
120  {
121  public:
122 
138  const madara::knowledge::KnowledgeMap & args,
139  madara::knowledge::KnowledgeBase * knowledge,
140  platforms::BasePlatform * platform,
141  variables::Sensors * sensors,
142  variables::Self * self,
143  variables::Agents * agents);
144  };
145  }
146 }
147 
148 #endif // _GAMS_ALGORITHMS_PERFORMANCE_PROFILING_H_
Copyright(c) 2014 Carnegie Mellon University.
Copyright(c) 2014 Carnegie Mellon University.
#define GAMS_EXPORT
Definition: GamsExport.h:20
Base class for algorithm factories that classes derived from.
The base class that algorithms in GAMS use.
Definition: BaseAlgorithm.h:95
A factory class for creating PerformanceProfiling 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 PerformanceProfiling Algorithm.
An algorithm for testing computational speed.
virtual int analyze(void)
Analyzes environment, platform, or other information.
virtual int plan(void)
Plans the next execution of the algorithm.
void operator=(const PerformanceProfiling &rhs)
Assignment operator.
PerformanceProfiling(madara::knowledge::KnowledgeBase *knowledge=0, platforms::Base *platform=0, variables::Sensors *sensors=0, variables::Self *self=0)
Constructor.
virtual int execute(void)
Plans the next execution of the algorithm.
The base platform for all platforms to use.
Definition: BasePlatform.h:113
A container for self referencing information.
Definition: Self.h:70
std::map< std::string, Sensor * > Sensors
a map of sensor names to the sensor information
Definition: Sensor.h:238
std::vector< Agent > Agents
An array of agent knowledge.
Definition: Agent.h:246
Contains all GAMS-related tools, classes and code.