![]() |
ALMaSS
1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
|
A class for storing livestock parameters and variables for optimising farms. More...
#include <Farm.h>
Public Member Functions | |
Livestock (TTypesOfFarmAnimals a_animalType, int a_number) | |
Constructor. More... | |
Public Attributes | |
TTypesOfFarmAnimals | m_animalType |
Type of livestock. More... | |
int | m_number |
Number of animals of a given type at a farm. More... | |
double | m_NanimUsable |
Amount of usable animal fertilizer from a given type of livestock. [kg]. More... | |
double | m_FUdemand |
Amount of fodder needed for a given type of livestock. [fodder units]. More... | |
A class for storing livestock parameters and variables for optimising farms.
Livestock::Livestock | ( | TTypesOfFarmAnimals | a_animalType, |
int | a_number | ||
) |
Constructor.
TTypesOfFarmAnimals Livestock::m_animalType |
Type of livestock.
double Livestock::m_FUdemand |
Amount of fodder needed for a given type of livestock. [fodder units].
double Livestock::m_NanimUsable |
Amount of usable animal fertilizer from a given type of livestock. [kg].
int Livestock::m_number |
Number of animals of a given type at a farm.