ALMaSS Partridge ODdox
1.1
The partridge model description following ODdox protocol
|
A class for storing livestock parameters and variables for optimising farms. More...
#include <farm.h>
Public Member Functions | |
Livestock (TTypesOfAnimals a_animalType, int a_number) | |
Constructor. More... | |
Public Attributes | |
TTypesOfAnimals | 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 | ( | TTypesOfAnimals | a_animalType, |
int | a_number | ||
) |
Constructor.
Definition at line 5094 of file farm.cpp.
References m_animalType, m_FUdemand, m_NanimUsable, and m_number.
TTypesOfAnimals Livestock::m_animalType |
double Livestock::m_FUdemand |
Amount of fodder needed for a given type of livestock. [fodder units].
Definition at line 1628 of file farm.h.
Referenced by Livestock().
double Livestock::m_NanimUsable |
Amount of usable animal fertilizer from a given type of livestock. [kg].
Definition at line 1626 of file farm.h.
Referenced by Livestock().
int Livestock::m_number |
Number of animals of a given type at a farm.
Definition at line 1624 of file farm.h.
Referenced by Livestock().