39 QString
name()
const {
return mName; }
41 QJSValue
jsAgent()
const {
return mJSAgent; }
53 static int mAgentsCreated;
59 QVector<FMUnit*> mUnits;
65 double mExperimentation;
The Agent is the core element of the agent based forest management model and simulates a foresters de...
Definition: agent.h:35
void setName(const QString &name)
Definition: agent.cpp:46
void addUnit(FMUnit *unit)
add a unit to the list of managed units
Definition: agent.h:45
void setup()
Definition: agent.cpp:57
QString name() const
Definition: agent.h:39
AgentType * type() const
Definition: agent.h:38
double useSustainableHarvest() const
Definition: agent.cpp:52
const SchedulerOptions & schedulerOptions() const
Definition: agent.h:42
QJSValue jsAgent() const
Definition: agent.h:41
Agent(AgentType *type, QJSValue js)
Definition: agent.cpp:38
AgentType is the archtype agent including the agents decision logic.
Definition: agenttype.h:72
The FMUnit represents a management unit, i.e.
Definition: fmunit.h:32
SchedulerOptions store agent-specific options.
Definition: scheduler.h:34