economics
Class FinanceAgency

java.lang.Object
  extended by economics.FinanceAgency

public class FinanceAgency
extends java.lang.Object

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

model

private Model model
Constructor Detail

FinanceAgency

public FinanceAgency(Model _model)
Method Detail

step

public void step()
allocate or stop grants to eligible agents


allocateGrant

private void allocateGrant(Agent agent)
Allocate grant to agent is eligible

Parameters:
agent -

checkStopGrant

private void checkStopGrant(Agent agent)
Check if the grant needs to be stopped for this agent

Parameters:
agent -

checkEligibility

private void checkEligibility(Agent agent)
Check eligbility for the agent

Parameters:
agent -

allocatePension

private void allocatePension(Agent agent)
allocate pension to this agent

Parameters:
agent -