11 unsigned int DynamicLayoutGenerator::dynamicGroupIdOffset()
const
13 return m_dynamicGroupIdOffset;
16 void DynamicLayoutGenerator::setDynamicGroupIdOffset(
unsigned int value)
18 m_dynamicGroupIdOffset = value;
21 void DynamicLayoutGenerator::addDynamicGroupIdOffset(
unsigned int value)
23 m_dynamicGroupIdOffset += value;
26 unsigned int DynamicLayoutGenerator::dynamicMethod()
const
28 return m_dynamicMethod;
31 void DynamicLayoutGenerator::setDynamicMethod(
unsigned int value)
33 m_dynamicMethod = value;
36 bool DynamicLayoutGenerator::generateOnInitSimulation()
const
38 return m_generateOnInit;
41 void DynamicLayoutGenerator::setGenerateOnInitSimulation(
bool value)
43 m_generateOnInit = value;
46 double DynamicLayoutGenerator::timeToGenerate()
const
48 return m_timeToGenerate;
51 void DynamicLayoutGenerator::setTimeToGenerate(
double value)
53 m_timeToGenerate = value;
56 void DynamicLayoutGenerator::decreaseTimeToGenerate()
58 m_timeToGenerate -= 1.0;
61 bool DynamicLayoutGenerator::generatorTrigger()
const
63 return m_generatorTrigger;
66 void DynamicLayoutGenerator::setGeneratorTrigger(
bool value)
68 m_generatorTrigger = value;
71 bool DynamicLayoutGenerator::randomizeAgentTypes()
const
73 return m_randomizeAgentTypes;
76 void DynamicLayoutGenerator::setRandomizeAgentTypes(
bool value)
78 m_randomizeAgentTypes = value;
81 bool DynamicLayoutGenerator::resetSeed()
const
86 void DynamicLayoutGenerator::setResetSeed(
bool value)
91 const std::vector<std::string>& DynamicLayoutGenerator::randomAgentTypes()
const
93 return m_randomAgentTypes;
96 void DynamicLayoutGenerator::setRandomAgentTypes(
const std::vector<std::string>& value)
98 m_randomAgentTypes = value;
103 return m_randomTimerGenerator;
108 m_randomTimerGenerator = value;
111 const std::vector<Atoms::AgentInitData>& DynamicLayoutGenerator::getData()
const
116 void DynamicLayoutGenerator::setData(
const std::vector<Atoms::AgentInitData>& data,
bool check)
118 if (!check || (check && m_resetSeed && m_data.empty()))
AtomsMath::Vector2 Vector2
Vector2 class.
Definition: AtomsMath.h:54
Atoms namespace.
Definition: Agent.h:29