Package | Description |
---|---|
actions | |
dataClasses | |
enums |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Animal> |
SellingImpl.sellIndividual(java.util.ArrayList<Animal> allAnimals,
SellingType type,
double currentMonth) |
java.util.ArrayList<Animal> |
Selling.sellIndividual(java.util.ArrayList<Animal> allAnimals,
SellingType type,
double currentMonth) |
Modifier and Type | Method and Description |
---|---|
static double |
SellingRates.getSaleRateEmpDstr(SellingType type)
Draws the yearly selling rate of Survivor and Spender HH from the empirical distributions (data files)
|
static double |
SellingRates.getSaleRateNrmlDstr(SellingType type)
Draws the yearly selling rate of Survivor and Spender HH from a Normal distribution with a mean and stdev
calculated from the empircial selling rates.
|
static double |
Expenditures.getSpendRate(SellingType type)
Simple method for expenditures for non-livestock owning HH based on distributions of different selling types (expenditure data for those where missing)
|
Modifier and Type | Method and Description |
---|---|
static SellingType |
SellingType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SellingType[] |
SellingType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|