A container for swarm information.
More...
#include <Swarm.h>
|
| | Swarm () |
| | Constructor. More...
|
| |
| | ~Swarm () |
| | Destructor. More...
|
| |
| void | init_vars (madara::knowledge::KnowledgeBase &knowledge, const madara::knowledge::KnowledgeRecord::Integer &swarm_size=1) |
| | Initializes variable containers. More...
|
| |
| void | init_vars (madara::knowledge::Variables &knowledge, const madara::knowledge::KnowledgeRecord::Integer &swarm_size=1) |
| | Initializes variable containers. More...
|
| |
| void | operator= (const Swarm &agent) |
| | Assignment operator. More...
|
| |
|
| void | init_vars (const madara::knowledge::KnowledgeRecord::Integer &swarm_size) |
| | Variable setup. More...
|
| |
A container for swarm information.
Definition at line 75 of file Swarm.h.
| gams::variables::Swarm::Swarm |
( |
| ) |
|
| gams::variables::Swarm::~Swarm |
( |
| ) |
|
| void gams::variables::Swarm::init_vars |
( |
madara::knowledge::KnowledgeBase & |
knowledge, |
|
|
const madara::knowledge::KnowledgeRecord::Integer & |
swarm_size = 1 |
|
) |
| |
Initializes variable containers.
- Parameters
-
| knowledge | the variable context |
| swarm_size | size of the swarm |
| void gams::variables::Swarm::init_vars |
( |
madara::knowledge::Variables & |
knowledge, |
|
|
const madara::knowledge::KnowledgeRecord::Integer & |
swarm_size = 1 |
|
) |
| |
Initializes variable containers.
- Parameters
-
| knowledge | the variable context |
| swarm_size | size of the swarm |
| void gams::variables::Swarm::init_vars |
( |
const madara::knowledge::KnowledgeRecord::Integer & |
swarm_size | ) |
|
|
protected |
Variable setup.
- Parameters
-
| swarm_size | number of participating agents |
| void gams::variables::Swarm::operator= |
( |
const Swarm & |
agent | ) |
|
Assignment operator.
- Parameters
-
container for accents
Definition at line 126 of file Swarm.h.
| madara::knowledge::containers::String gams::variables::Swarm::algorithm |
the current command given to the swarm
Definition at line 111 of file Swarm.h.
| madara::knowledge::containers::Map gams::variables::Swarm::algorithm_args |
number of arguments for command
Definition at line 117 of file Swarm.h.
| madara::knowledge::containers::Integer gams::variables::Swarm::algorithm_id |
the current command given to the swarm
Definition at line 114 of file Swarm.h.
| madara::knowledge::containers::Double gams::variables::Swarm::min_alt |
minimum altitude for swarm to use
Definition at line 120 of file Swarm.h.
| madara::knowledge::containers::Integer gams::variables::Swarm::size |
the number of agents participating in the swarm
Definition at line 123 of file Swarm.h.
The documentation for this class was generated from the following file: