Constructor and Description |
---|
GlobSpaceImpl(java.util.ArrayList<EntryAble> listOfSimpleHH,
java.util.ArrayList<ProducerHH> listOfProudecerHH,
repast.simphony.context.Context theContext) |
Modifier and Type | Method and Description |
---|---|
void |
finishBiomass()
finishes the run of rangeland model
|
double |
getBrand()
Gets last years branding rate
|
int |
getExitNr()
Gets all exits of HH over the run
|
double |
getGiniHerdSizes() |
double |
getGiniProfits() |
double |
getInvestmentCosts()
Gets all investment costs for bought animals
|
double |
getMeanHerdSizes()
Gets the arithmetic mean of herd sizes
|
double |
getMeanValueOfHerds()
Gets the mean value of the herd on the rangeland
|
double |
getMort()
Gets last years mortality
|
double |
getNrSoldAnimals()
Gets the number of animals
|
double |
getOfftake()
Gets all forage consumed during the lat month
|
int |
getParameterCooperationIni() |
int |
getParameterHerdSizeIni() |
int |
getParameterHHAttrIni() |
int |
getParameterMaxHerdSize() |
double |
getPercProducerWithOneAnimal()
Gets the % of producers who have only one animal
|
double |
getStdevHerdSizes()
Gets the standard deviation of herd sizes in the current time step
|
double |
getStdevValueOfHerds()
Gets the standard deviation of the herd on the rangeland
|
double |
getStockingRate() |
double |
getSumOfProfits()
Gets the sum of all profits accumulated over the run
|
double |
getValueOfTotalHerd()
Gets the current total value of the herd on the rangeland
|
int |
getWasCollapse()
returns binary variable for collapse
|
int |
getWasCooperation()
returns binary variable for cooperation
|
void |
incrExit()
increments the count of exits of producers
|
double |
medianHerdSizes()
Gets the median of herd sizes
|
double |
modeHerdSize()
Gets the modus of herd sizes
|
void |
stepAnimalAgeing()
Ages all Animals by one month
|
void |
stepBiomassGrowth()
Steps the biomass growth during the last month.
|
void |
stepBirthsBranding()
Steps yearly net reproduction by using the branding rate
|
void |
stepCooperation()
Steps the calculation of group variables needed for the calculation of norm compliance (group reputation, severity, vividness)
|
void |
stepDeaths()
Steps yearly mortality
|
void |
stepEntry()
Checks if non-livestock owning HH want to enter and adds them the list of producing HH.
|
void |
stepExit()
Checks if a Producer HH has to exit.
|
void |
stepGlobal()
Global steppping method
|
void |
stepHHbalance()
Steps the HH-balance of all HH
|
void |
stepIndiSelling()
Steps the individual selling decision of ProducerHH.
|
void |
stepLiveweightgain()
Gets the live-weight gain resulted from resource biomass consumption and informs
all ProducerHH with this value.
|
void |
stepNormSelling()
steps sales triggerd by the norm
|
void |
stepResetSavings()
Sets accumulated savings to zero in order to cover non-observed expenses during the year.
|
void |
stepYearlyLwg()
Steps the yearly live-weight gain of cattle
|
public GlobSpaceImpl(java.util.ArrayList<EntryAble> listOfSimpleHH, java.util.ArrayList<ProducerHH> listOfProudecerHH, repast.simphony.context.Context theContext)
public void stepGlobal()
stepGlobal
in interface GlobSpace
public void stepAnimalAgeing()
public void stepBiomassGrowth()
public void stepLiveweightgain()
public void stepHHbalance()
public void stepYearlyLwg()
public void stepBirthsBranding()
public void stepDeaths()
public void stepIndiSelling()
public void stepNormSelling()
public void stepCooperation()
public void stepExit()
public void stepEntry()
public void stepResetSavings()
public double getGiniHerdSizes()
public double getGiniProfits()
public double getSumOfProfits()
public double getPercProducerWithOneAnimal()
public double getStockingRate()
public double getOfftake()
public double getMort()
public double getBrand()
public void incrExit()
public int getExitNr()
public double getValueOfTotalHerd()
public double getMeanValueOfHerds()
public double getStdevValueOfHerds()
public double getStdevHerdSizes()
public double getMeanHerdSizes()
public double getNrSoldAnimals()
public double modeHerdSize()
public double medianHerdSizes()
public double getInvestmentCosts()
public int getWasCooperation()
public int getWasCollapse()
public void finishBiomass()
finishBiomass
in interface GlobSpace
public int getParameterCooperationIni()
public int getParameterHHAttrIni()
public int getParameterHerdSizeIni()
public int getParameterMaxHerdSize()