Ideation Project DA Ruwe
This program provides us with an agent based simulation of an ideation game.
|
Provides a structure for payments. More...
Public Member Functions | |
double | getAmount () |
Package Functions | |
Cheque (Period period, Agent agent, double amount) | |
external Constructor for a cheque. |
This class provides a structure for payments. If a payment is to be made, a cheque is created. The class where this is applicable is Choice#reward(double), because we always reward choices. In this way, it is always known what was rewarded. Since every choice belongs to an Agent, the agent has the possibility to find out how many rewards it got.
ideation.Cheque.Cheque | ( | Period | period, |
Agent | agent, | ||
double | amount | ||
) | [package] |
period | the period for which the reward is to be given. |
agent | the agent that is to be awarded amount the height of the reward in euro |
double ideation.Cheque.getAmount | ( | ) |