Loading [MathJax]/extensions/ams.js
ALMaSS  1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Livestock Class Reference

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...
 

Detailed Description

A class for storing livestock parameters and variables for optimising farms.

Constructor & Destructor Documentation

◆ Livestock()

Livestock::Livestock ( TTypesOfFarmAnimals  a_animalType,
int  a_number 
)

Constructor.

Member Data Documentation

◆ m_animalType

TTypesOfFarmAnimals Livestock::m_animalType

Type of livestock.

◆ m_FUdemand

double Livestock::m_FUdemand

Amount of fodder needed for a given type of livestock. [fodder units].

◆ m_NanimUsable

double Livestock::m_NanimUsable

Amount of usable animal fertilizer from a given type of livestock. [kg].

◆ m_number

int Livestock::m_number

Number of animals of a given type at a farm.


The documentation for this class was generated from the following file: