Atoms Crowd
7.0.0
|
Variations class. More...
#include <Variations.h>
Public Member Functions | |
Variations () | |
Constructor. | |
~Variations () | |
Destructor. | |
void | clear () |
Removes the agents variations. | |
std::vector< std::string > | getAgentTypeNames () const |
Gets the agent type names. | |
AgentTypeVariation & | getAgentTypeVariation (const std::string &agentTypeName) |
Gets an agent type variation. | |
void | setAgentTypeVariation (const std::string &agentTypeName, const AgentTypeVariation &atv) |
Sets an agent type variation. | |
AgentTypeVariationCPtr | getAgentTypeVariationPtr (const std::string &agentTypeName) const |
Gets an agent type variation. | |
bool | hasAgentTypeVariation (const std::string &agentTypeName) |
Checks if an agent type variation exists. | |
bool | removeAgentTypeVariation (const std::string &agentTypeName) |
Removes an agent type variation. | |
bool | writeToFile (const std::string &filePath) |
Write the agent variations map to a file. | |
std::string | toString (const bool prettyprint=false) |
Converts the agent variations map to a string. | |
void | hash (AtomsCore::MurmurHash3 &hasher) const |
Hash. | |
size_t | size () const |
Variations class.
This object stores the variations of multiple agent type