|
A goal is a satisfaction level of a need that an agent wants to achieve. More...
Public Member Functions | |
Goal (string needToSatisfy, Needs.NeedSatisfactions satisfactionState) | |
Create a new goal to achieve a specific Needs.NeedSatisfactions state for a specific need. More... | |
bool | GoalAchieved (float satisfactionValue) |
True, if the specific NeedSatisfaction Goal is achieved. False otherwise. More... | |
Properties | |
string | NeedToSatisfy [get] |
Which need should be satisfied by this goal. More... | |
Needs.NeedSatisfactions | SatisfactionState [get] |
What is the current Needs.NeedSatisfactions state of the need this goal is concerned with. More... | |
bool | HasBeenAchieved [get, set] |
Whether the goal has been achieved. More... | |
A goal is a satisfaction level of a need that an agent wants to achieve.
Simulation.Goal.Goal | ( | string | needToSatisfy, |
Needs.NeedSatisfactions | satisfactionState | ||
) |
Create a new goal to achieve a specific Needs.NeedSatisfactions state for a specific need.
needToSatisfy | The name of the need |
satisfactionState | The state that is desired |
bool Simulation.Goal.GoalAchieved | ( | float | satisfactionValue | ) |
True, if the specific NeedSatisfaction Goal is achieved. False otherwise.
satisfactionValue |
|
getset |
Whether the goal has been achieved.
|
get |
Which need should be satisfied by this goal.
|
get |
What is the current Needs.NeedSatisfactions state of the need this goal is concerned with.