GAMS  1.2.2
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 
137  virtual BaseAlgorithm * create (
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_
Base class for algorithm factories that classes derived from.
Copyright (c) 2014 Carnegie Mellon University.
std::map< std::string, Sensor * > Sensors
a map of sensor names to the sensor information
Definition: Sensor.h:238
The base platform for all platforms to use.
Definition: BasePlatform.h:190
std::vector< Agent > Agents
An array of agent knowledge.
Definition: Agent.h:246
Contains all GAMS-related tools, classes and code.
A container for self referencing information.
Definition: Self.h:69
#define GAMS_EXPORT
Definition: GamsExport.h:20
A factory class for creating PerformanceProfiling Algorithms.
The base class that algorithms in GAMS use.
Definition: BaseAlgorithm.h:94
Copyright (c) 2014 Carnegie Mellon University.
An algorithm for testing computational speed.