|
iLand
|
The Agent is the core element of the agent based forest management model and simulates a foresters decisions. More...
#include <agent.h>
Public Member Functions | |
| Agent (AgentType *type, QJSValue js) | |
| AgentType * | type () const |
| QString | name () const |
| void | setName (const QString &name) |
| QJSValue | jsAgent () const |
| const SchedulerOptions & | schedulerOptions () const |
| void | addUnit (FMUnit *unit) |
| add a unit to the list of managed units More... | |
| double | useSustainableHarvest () const |
| void | setup () |
The Agent is the core element of the agent based forest management model and simulates a foresters decisions.
The Agent class is a lightweight implementation of a single forest manager.
Several agents (responsible for particular parts of the landscape) may be of the same AgentType and thus share certain characteristics.
| ABE::Agent::Agent | ( | AgentType * | type, |
| QJSValue | js | ||
| ) |
|
inline |
add a unit to the list of managed units
|
inline |
|
inline |
|
inline |
| void ABE::Agent::setName | ( | const QString & | name | ) |
| void ABE::Agent::setup | ( | ) |
|
inline |
| double ABE::Agent::useSustainableHarvest | ( | ) | const |