Rev 915 |
Rev 938 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
#ifndef AGENT_H
#define AGENT_H
namespace ABE {
class AgentType; // forward
/** The Agent is the core element of the agent based forest management model and simulates
* a foresters decisions. */
class Agent
{
public:
Agent(AgentType *type);
AgentType *type() const {return mType; }
// agent properties
double useSustainableHarvest() const;
private:
// link to the base agent type
AgentType *mType;
// agent properties
double mKnowledge;
double mEconomy;
double mExperimentation;
double mAltruism;
double mRisk;
};
} // namespace
#endif // AGENT_H