ALMaSS Vole ODDox
1.1
The vole model description following ODdox protocol
|
#include <PermanentGrassTussocky.h>
Public Member Functions | |
bool | Do (Farm *a_farm, LE *a_field, FarmEvent *a_ev) |
PermanentGrassTussocky () | |
![]() | |
virtual | ~Crop () |
Crop () | |
int | GetFirstDate (void) |
void | ChooseNextCrop (int a_no_dates) |
Chooses the next crop to grow in a field. More... | |
int | GetCropClassification () |
void | SetCropClassification (int a_classification) |
Additional Inherited Members | |
![]() | |
void | SimpleEvent (long a_date, int a_todo, bool a_lock) |
Adds an event to this crop management. More... | |
void | SimpleEvent_ (long a_date, int a_todo, bool a_lock, Farm *a_farm, LE *a_field) |
Adds an event to this crop management without relying on member variables. More... | |
![]() | |
Farm * | m_farm |
LE * | m_field |
FarmEvent * | m_ev |
int | m_first_date |
int | m_count |
int | m_last_date |
int | m_ddegstoharvest |
int | m_CropClassification |
Definition at line 45 of file PermanentGrassTussocky.h.
|
inline |
Definition at line 49 of file PermanentGrassTussocky.h.
References Crop::m_first_date.
Reimplemented from Crop.
Definition at line 37 of file PermanentGrassTussocky.cpp.
References Farm::CattleIsOutLow(), Farm::CattleOutLowGrazing(), Crop::ChooseNextCrop(), Farm::DoIt(), Farm::GetType(), Crop::m_ev, Crop::m_farm, Crop::m_field, Crop::m_first_date, FarmEvent::m_first_year, Crop::m_last_date, FarmEvent::m_lock, FarmEvent::m_startday, FarmEvent::m_todo, pgt_cattle_is_out, pgt_cattle_out1, pgt_cattle_out2, PGT_CUT_DATE, PGT_FERTI_DATE, pgt_start, pgt_wait, Crop::SimpleEvent(), and tof_OptimisingFarm.