iLand
Public Member Functions | List of all members

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)
 
AgentTypetype () const
 
QString name () const
 
void setName (const QString &name)
 
QJSValue jsAgent () const
 
const SchedulerOptionsschedulerOptions () const
 
void addUnit (FMUnit *unit)
 add a unit to the list of managed units More...
 
double useSustainableHarvest () const
 
void setup ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Agent()

ABE::Agent::Agent ( AgentType type,
QJSValue  js 
)

Member Function Documentation

◆ addUnit()

void ABE::Agent::addUnit ( FMUnit unit)
inline

add a unit to the list of managed units

◆ jsAgent()

QJSValue ABE::Agent::jsAgent ( ) const
inline

◆ name()

QString ABE::Agent::name ( ) const
inline

◆ schedulerOptions()

const SchedulerOptions & ABE::Agent::schedulerOptions ( ) const
inline

◆ setName()

void ABE::Agent::setName ( const QString &  name)

◆ setup()

void ABE::Agent::setup ( )

◆ type()

AgentType * ABE::Agent::type ( ) const
inline

◆ useSustainableHarvest()

double ABE::Agent::useSustainableHarvest ( ) const

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