public interface SimpleHH
Modifier and Type | Method and Description |
---|---|
void |
hhBalanceSimple()
computes monthly savings of HH
|
void |
hhBalanceTypes() |
void |
iniCooperator()
random initialization for last norm following value at start of simulation
|
void |
iniWithFileData(java.util.HashMap<java.lang.String,java.lang.Double> attributes)
initializes all HH with data from input files where they are not specific to the HH type
|
void |
iniWithOtherHHData(java.util.HashMap<java.lang.String,java.lang.Double> attributes)
used to re-instatinate entering.
|
boolean |
isCooperator()
checker for norm following
|
boolean |
isDefector()
returns true if agent is a permanent defector
|
void |
resetAccSavings()
resets accumulated savings
|
void |
setCooperator(boolean isCooperator)
sets HH to norm follower
|
void |
setDefector(boolean isDefector)
sets agent to be a permanent defector
|
void hhBalanceSimple()
void hhBalanceTypes()
void iniWithFileData(java.util.HashMap<java.lang.String,java.lang.Double> attributes)
void iniWithOtherHHData(java.util.HashMap<java.lang.String,java.lang.Double> attributes)
boolean isCooperator()
void setCooperator(boolean isCooperator)
isCooperator
- void iniCooperator()
void resetAccSavings()
void setDefector(boolean isDefector)
boolean isDefector()