Atoms Crowd  4.1.0
Atoms::Variations Class Reference

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.
 
AgentTypeVariationgetAgentTypeVariation (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
 

Detailed Description

Variations class.

This object stores the variations of multiple agent type


The documentation for this class was generated from the following files: