|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteconomics.FinanceAgency
public class FinanceAgency
this is a a special kind of agent / or agency, so-called 'Finance Agency' ... created as an instituition responsible for allocating grants to agents .. *
Field Summary | |
---|---|
private Model |
model
|
Constructor Summary | |
---|---|
FinanceAgency(Model _model)
|
Method Summary | |
---|---|
private void |
allocateGrant(Agent agent)
Allocate grant to agent is eligible |
private void |
allocatePension(Agent agent)
allocate pension to this agent |
private void |
checkEligibility(Agent agent)
Check eligbility for the agent |
private void |
checkStopGrant(Agent agent)
Check if the grant needs to be stopped for this agent |
void |
step()
allocate or stop grants to eligible agents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Model model
Constructor Detail |
---|
public FinanceAgency(Model _model)
Method Detail |
---|
public void step()
private void allocateGrant(Agent agent)
agent
- private void checkStopGrant(Agent agent)
agent
- private void checkEligibility(Agent agent)
agent
- private void allocatePension(Agent agent)
agent
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |