public interface ProducerHH extends SimpleHH
Modifier and Type | Method and Description |
---|---|
void |
addCow() |
void |
ageYourAnimals()
ages the herd and transforms calves into bulls or cows
|
void |
birthYourAnimalsBrand(double yearlyLwg)
calculates the new population of heifers (>1 year) in every year based on the branding rate and cows of last year
|
void |
dieYourAnimals(double yearlyLwg)
causes the death of animals based on yearly % mortality
|
EntryAble |
exit()
exit method.
|
double |
getAgriRev()
returns the average monthly agricultural profit
|
java.util.Collection<? extends Animal> |
getAnimals() |
double |
getConditionalCooperation()
Returns individual conditional cooperativeness
|
double |
getHerdSize() |
double |
getValueOfHerd()
returns the monetary value of the herd
|
void |
informLwg(double lwg)
increases monthly live-weight gain of individual herds
|
boolean |
isExit()
checker for exiting producers
|
java.util.ArrayList<Animal> |
sellIndividual()
Individual selling of animals (no norm)
|
java.util.ArrayList<Animal> |
sellNorm()
Selling triggerd by the norm
|
void |
storeInvestmentCosts()
stores investment costs for new entries into livestock production for calculating profits
|
void |
updateCooperation(double groupRepuation,
double severity)
updates individual cooperativeness
|
hhBalanceSimple, hhBalanceTypes, iniCooperator, iniWithFileData, iniWithOtherHHData, isCooperator, isDefector, resetAccSavings, setCooperator, setDefector
void informLwg(double lwg)
lwg
- java.util.Collection<? extends Animal> getAnimals()
void ageYourAnimals()
void birthYourAnimalsBrand(double yearlyLwg)
yearlyLwg
- void dieYourAnimals(double yearlyLwg)
yearlyLwg
- void addCow()
double getHerdSize()
boolean isExit()
EntryAble exit()
void updateCooperation(double groupRepuation, double severity)
groupRepuation
- level of norm followersseverity
- degree of norm violationsdouble getConditionalCooperation()
java.util.ArrayList<Animal> sellIndividual()
java.util.ArrayList<Animal> sellNorm()
double getValueOfHerd()
void storeInvestmentCosts()
double getAgriRev()