GAMS  1.2.2
LocalPheremoneAreaCoverage.h
Go to the documentation of this file.
1 
55 #ifndef _GAMS_ALGORITHMS_AREA_COVERAGE_PHEREMONE_AREA_COVERAGE_H_
56 #define _GAMS_ALGORITHMS_AREA_COVERAGE_PHEREMONE_AREA_COVERAGE_H_
57 
59 #include "gams/pose/SearchArea.h"
60 #include "gams/variables/Sensor.h"
62 
63 namespace gams
64 {
65  namespace algorithms
66  {
67  namespace area_coverage
68  {
73  {
74  public:
86  const std::string& search_id,
87  double e_time,
88  madara::knowledge::KnowledgeBase * knowledge = 0,
89  platforms::BasePlatform * platform = 0,
90  variables::Sensors * sensors = 0,
91  variables::Self * self = 0,
92  variables::Agents * agents = 0);
93 
98  void operator= (const LocalPheremoneAreaCoverage & rhs);
99 
100  protected:
104  virtual void generate_new_position (void);
105 
108 
111  }; // class LocalPheremoneAreaCoverage
112 
117  : public AlgorithmFactory
118  {
119  public:
120 
135  virtual BaseAlgorithm * create (
136  const madara::knowledge::KnowledgeMap & args,
137  madara::knowledge::KnowledgeBase * knowledge,
138  platforms::BasePlatform * platform,
139  variables::Sensors * sensors,
140  variables::Self * self,
141  variables::Agents * agents);
142  };
143  } // namespace area_coverage
144  } // namespace algorithms
145 } // namespace gams
146 
147 #endif // _GAMS_ALGORITHMS_AREA_COVERAGE_PHEREMONE_AREA_COVERAGE_H_
Base class for algorithm factories that classes derived from.
A container for sensor information.
Definition: Sensor.h:80
std::map< std::string, Sensor * > Sensors
a map of sensor names to the sensor information
Definition: Sensor.h:238
A utility class for search areas.
Definition: SearchArea.h:71
The base platform for all platforms to use.
Definition: BasePlatform.h:190
Copyright (c) 2014 Carnegie Mellon University.
std::vector< Agent > Agents
An array of agent knowledge.
Definition: Agent.h:246
Base class for all area coverages.
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
The base class that algorithms in GAMS use.
Definition: BaseAlgorithm.h:94
Copyright (c) 2014 Carnegie Mellon University.
Covers an area based on concentrations of virtual pheremones.
A factory class for creating pheremone area coverage algorithms.
Copyright (c) 2014 Carnegie Mellon University.