ALMaSS Hare ODDox
1.1
The hare model description following ODdox protocol
|
#include <SpringRape.h>
Public Member Functions | |
bool | Do (Farm *a_farm, LE *a_field, FarmEvent *a_ev) |
SpringRape () | |
Public Member Functions inherited from Crop | |
void | ChooseNextCrop (int a_no_dates) |
Chooses the next crop to grow in a field. More... | |
Crop () | |
int | GetCropClassification () |
int | GetFirstDate (void) |
void | SetCropClassification (int a_classification) |
virtual | ~Crop () |
Private Member Functions | |
void | HerbiZero (void) |
void | RowcolOne (void) |
Additional Inherited Members | |
Protected Member Functions inherited from Crop | |
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... | |
Protected Attributes inherited from Crop | |
int | m_count |
int | m_CropClassification |
int | m_ddegstoharvest |
FarmEvent * | m_ev |
Farm * | m_farm |
LE * | m_field |
int | m_first_date |
int | m_last_date |
Definition at line 77 of file SpringRape.h.
|
inline |
Definition at line 86 of file SpringRape.h.
References Crop::m_first_date.
Reimplemented from Crop.
Definition at line 45 of file SpringRape.cpp.
References cfg_fungi_app_prop1, cfg_herbi_app_prop, cfg_ins_app_prop1, cfg_pest_product_1_amount, cfg_pest_productapplic_period, cfg_pest_productapplic_startdate, Crop::ChooseNextCrop(), Farm::DeepPlough(), Farm::DoIt(), Farm::FA_Manure(), Farm::FP_NPKS(), Farm::FP_Slurry(), Farm::FungicideTreat(), g_landscape_p, Farm::GetType(), Farm::Harvest(), Farm::HayBailing(), Farm::HerbicideTreat(), Farm::InsecticideTreat(), Farm::IsStockFarmer(), 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, ppp_1, Farm::Prob_multiplier(), Farm::ProductApplication(), RowcolOne(), Farm::RowCultivation(), Crop::SimpleEvent(), Farm::Spraying_fungins(), Farm::SpringHarrow(), Farm::SpringPlough(), Farm::SpringSow(), sr_compress, sr_cuttostraw, SR_DID_HERBI_ZERO, SR_DID_RC_CLEAN, sr_ferti_p1, sr_ferti_p2, sr_ferti_s1, sr_ferti_s2, sr_ferti_zero, SR_FUNGI_DATE, sr_fungi_one, sr_grubbing, sr_harvest, SR_HARVEST_DATE, sr_herbi_one, SR_INSECT_DATE, sr_insect_one, sr_insect_one_b, sr_insect_one_c, sr_productapplic_one, sr_rowcol_one, sr_rowcol_one_b, sr_spring_harrow, sr_spring_plough, sr_spring_sow, sr_start, sr_stub_harrow, sr_swarth, SR_SWARTH_DATE, Farm::StrawChopping(), Farm::StubbleHarrowing(), Landscape::SupplyShouldSpray(), Farm::Swathing(), and tof_OptimisingFarm.
|
private |
|
private |
Definition at line 539 of file SpringRape.cpp.
References Farm::DoIt(), Crop::m_ev, Crop::m_farm, Crop::m_field, FarmEvent::m_lock, Farm::RowCultivation(), Crop::SimpleEvent(), SR_INSECT_DATE, sr_rowcol_one, and sr_rowcol_one_b.
Referenced by Do().