File failed to load: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/extensions/ams.js
 |
ALMaSS
1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
|
Definition: LandscapeFarmingEnums.h:925
Definition: LandscapeFarmingEnums.h:891
Definition: LandscapeFarmingEnums.h:103
static double * m_vegPalatability
Will hold and array of palatability for hare for each tov type. Most are 1, but unpalatable vegetatio...
Definition: Hare_All.h:318
Definition: LandscapeFarmingEnums.h:852
Definition: LandscapeFarmingEnums.h:135
The class that handles all the population lists for hares.
Definition: Hare_All.h:529
double g_rand_uni_fnc()
Definition: ALMaSS_Random.cpp:56
Definition: Hare_All.h:93
Definition: LandscapeFarmingEnums.h:851
TTypesOfLandscapeElement SupplyElementType(int a_polyref)
Returns the landscape type of the polygon using the polygon reference number a_polyref or coordinates...
Definition: Landscape.h:1732
Definition: LandscapeFarmingEnums.h:108
int SupplySimH() const
Returns landscape height in m.
Definition: PopulationManager.h:569
~THare() override
Destructor.
Definition: Hare_THare.cpp:109
Definition: LandscapeFarmingEnums.h:98
double m_pesticidedegradationrate
State variable used to hold the daily degredation rate of the pesticide in the body.
Definition: Hare_All.h:306
double m_SpeedWalking
m/min speed of walking per kg hare
Definition: Hare_All.h:248
bool hare_tole_init_friendly(Landscape *m_TheLandscape, int x, int y)
Definition: Hare_toletov.cpp:4
Definition: LandscapeFarmingEnums.h:97
Definition: LandscapeFarmingEnums.h:107
int m_guard_cell_y
The index y to the guard cell.
Definition: PopulationManager.h:374
bool SupplyAttIsWater(int a_x, int a_y)
Returns whether a polygon at coordinates a_x, a_y has the attribute Water set.
Definition: Landscape.h:879
int m_Lifespan
Physiolocal lifespan, assuming nothing else kills the hare (unlikely to reach this age)
Definition: Hare_All.h:198
double m_AdultMortRate
Input variable - Adult mortality rate.
Definition: Hare_All.h:741
virtual bool WasPredated()
Test for predation.
Definition: Hare_THare.cpp:341
Definition: LandscapeFarmingEnums.h:106
double value() const
Definition: Configurator.h:142
Definition: Hare_All.h:72
int GetHareRefNum()
Get the next ID number available.
Definition: Hare_All.h:546
int m_ActivityTime
Minutes of potential activity time per day.
Definition: Hare_All.h:203
FarmToDo
Definition: Treatment.h:31
void AddHareDensity(int x, int y, Hare_Object a_type)
Density function - adds one to the density in the square containing by x,y. Each square is 256x256m i...
Definition: Hare_All.h:642
void ON_YoungKilled(THare *a_young)
A leveret has been killed.
Definition: Hare_All.cpp:3538
THare_Population_Manager * m_OurPopulationManager
Pointer to the hare population manager.
Definition: Hare_All.h:194
bool OnFarmEvent(FarmToDo event) override
Do we require a response to a farm event.
Definition: Hare_THare.cpp:356
CfgInt cfg_hare_escape_dist
void loadVegPalatability(void)
Loads static member m_vegPalatability with data.
Definition: Hare_THare.cpp:114
CfgInt cfg_hare_max_age_var
double m_KJForaging
KJ/m cost of foraging per kg hare.
Definition: Hare_All.h:238
Definition: LandscapeFarmingEnums.h:102
Definition: Hare_All.h:94
double GetRMR()
Get todays RMR.
Definition: Hare_THare.cpp:333
Definition: LandscapeFarmingEnums.h:893
virtual TTypeOfHareState st_Dispersal()
Base implementation only - reimplemented.
Definition: Hare_THare.cpp:122
void THareInit(int p_x, int p_y, THare_Population_Manager *p_PPM)
Object Initiation.
Definition: Hare_THare.cpp:70
Definition: LandscapeFarmingEnums.h:100
Definition: LandscapeFarmingEnums.h:890
Definition: LandscapeFarmingEnums.h:124
TTypesOfLandscapeElement
Values that represent the types of landscape polygon that are represented in ALMaSS.
Definition: LandscapeFarmingEnums.h:57
Definition: LandscapeFarmingEnums.h:99
The landscape class containing all environmental and topographical data.
Definition: Landscape.h:142
double m_KJWalking
KJ/m cost of walking per kg hare.
Definition: Hare_All.h:233
double m_fatReserve
State variable - the energy reserve of the hare.
Definition: Hare_All.h:213
Definition: LandscapeFarmingEnums.h:89
int m_lastYearsDensity
State variable used in alternative density-dependent configurations.
Definition: Hare_All.h:276
Definition: Hare_All.h:81
int m_experiencedDensity
State variable used in alternative density-dependent configurations.
Definition: Hare_All.h:271
double m_KJRunning
KJ/m cost of running per kg hare.
Definition: Hare_All.h:228
Definition: LandscapeFarmingEnums.h:123
int m_Location_y
The objects ALMaSS y coordinate.
Definition: PopulationManager.h:366
Definition: LandscapeFarmingEnums.h:84
Definition: LandscapeFarmingEnums.h:874
int m_RefNum
Unique hare reference number, also functions as sex flag.
Definition: Hare_All.h:265
CfgFloat cfg_ForageRestingRatio
bool m_pesticideInfluenced1
Flag to indicate pesticide effects (e.g. can be used for endocrine distruptors with delayed effects u...
Definition: Hare_All.h:311
static Landscape * m_OurLandscape
A pointer to the landscape object shared with all TAnimal objects.
Definition: PopulationManager.h:342
TTypeOfActivity
Enumerator for hare activities.
Definition: Hare_All.h:89
void Walking(int a_dist, int a_direction)
Walking.
Definition: Hare_THare.cpp:176
bool hare_tole_init_friendly(Landscape *m_TheLandscape, int x, int y)
Definition: Hare_toletov.cpp:4
The base class for all ALMaSS animal classes. Includes all the functionality required to be handled b...
Definition: PopulationManager.h:200
bool hare_tole_can_walkacross(Landscape *m_TheLandscape, int x, int y)
Definition: Hare_toletov.cpp:41
Definition: Hare_All.h:92
Definition: LandscapeFarmingEnums.h:133
Definition: LandscapeFarmingEnums.h:101
double GetRMR(int a_age, double a_size)
Returns the RMR given a specific age and mass.
Definition: Hare_All.cpp:932
Definition: LandscapeFarmingEnums.h:892
double m_SpeedRunning
m/min speed of running per kg hare
Definition: Hare_All.h:243
static CfgFloat cfg_hare_lowfatextramort("HARE_LOWFATEXTRAMORT", CFG_CUSTOM, 10.0)
int m_ddindex
State variable used in alternative density-dependent configurations.
Definition: Hare_All.h:281
double m_TodaysEnergy
State variable - the amount of energy available today, can be in deficit.
Definition: Hare_All.h:218
bool hare_tole_can_walkacross(Landscape *m_TheLandscape, int x, int y)
Definition: Hare_toletov.cpp:41
CfgInt cfg_Hare_Recovery_Time
bool m_StepDone
Indicates whether the iterative step code is done for this timestep.
Definition: PopulationManager.h:133
void hare_tov_SetVegPalatability(double *vp)
Definition: Hare_toletov.cpp:61
Definition: LandscapeFarmingEnums.h:112
void EnergyBalance(TTypeOfActivity a_activity, int dist)
Adjust energy balance for an activity.
Definition: Hare_THare.cpp:261
void hare_tov_SetVegPalatability(double *vp)
Definition: Hare_toletov.cpp:61
double m_foragingenergy
Energy obtained from foraging/feeding.
Definition: Hare_All.h:252
int value() const
Definition: Configurator.h:116
Definition: LandscapeFarmingEnums.h:104
Definition: LandscapeFarmingEnums.h:127
Definition: LandscapeFarmingEnums.h:913
void st_Dying()
Tidy up before removing the object on death.
Definition: Hare_THare.cpp:165
void UpdateGuardMap(int a_x, int a_y, int &a_index_x, int &a_index_y)
Get the index of the guard map for the given location.
Definition: PopulationManager.h:768
int m_expDensity[365]
State variable used in alternative density-dependent configurations.
Definition: Hare_All.h:286
int m_DensitySum
State variable used in alternative density-dependent configurations.
Definition: Hare_All.h:291
CfgInt cfg_hare_adult_predation
Definition: LandscapeFarmingEnums.h:128
double m_pesticide_burden
State variable used to hold the current body-burden of pesticide.
Definition: Hare_All.h:301
int m_Age
State variale - hare age.
Definition: Hare_All.h:170
Definition: LandscapeFarmingEnums.h:894
Definition: LandscapeFarmingEnums.h:86
CfgInt cfg_hare_minimum_breeding_weight
Definition: LandscapeFarmingEnums.h:111
Definition: LandscapeFarmingEnums.h:88
TTypeOfHareState m_CurrentHState
Defines the current activity.
Definition: Hare_All.h:165
Definition: LandscapeFarmingEnums.h:87
Definition: LandscapeFarmingEnums.h:875
Integer configurator entry class.
Definition: Configurator.h:102
THare(int p_x, int p_y, Landscape *p_L, THare_Population_Manager *p_PPM)
Constructor.
Definition: Hare_THare.cpp:64
static CfgFloat cfg_hare_pesticidedegradationrate("HARE_PESTICIDEDEGRADATIONRATE", CFG_CUSTOM, 0.0)
int m_guard_cell_x
The index x to the guard cell.
Definition: PopulationManager.h:370
int m_StarvationDays
State variable - the number of consecutive days in negative energy balance.
Definition: Hare_All.h:208
Definition: Hare_All.h:95
Double configurator entry class.
Definition: Configurator.h:126
int SupplySimW() const
Returns landscape width in m.
Definition: PopulationManager.h:567
Definition: Hare_All.h:91
TTypeOfHareState
Enumerator for hare behavioural states.
Definition: Hare_All.h:71
double GetTotalWeight()
Provide the wet weight of the hare.
Definition: Hare_All.h:370
virtual void Running(int a_max_dist)
Run.
Definition: Hare_THare.cpp:136
Hare_Female * m_MyMum
Pointer to the hare's mum.
Definition: Hare_All.h:190
Definition: Configurator.h:70
int g_random_fnc(const int a_range)
Definition: ALMaSS_Random.cpp:74
int m_peg_y
peg y-coordinate
Definition: Hare_All.h:260
CfgFloat cfg_Hare_StdSpeedWalking
double m_weight
State variale - hare weight g.
Definition: Hare_All.h:180
Hare_Object m_Type
State variale - the type of hare.
Definition: Hare_All.h:175
bool Run(int a_dist, int a_direction)
Run a distance in a direction.
Definition: Hare_THare.cpp:186
int m_CurrentStateNo
The basic state number for all objects - '-1' indicates death.
Definition: PopulationManager.h:131
void SubtractHareDensity(int x, int y, Hare_Object a_type)
Density function - subtracts one from the density in the square containing by x,y....
Definition: Hare_All.h:649
Definition: LandscapeFarmingEnums.h:926
void TimeBudget(TTypeOfActivity a_activity, int dist)
Adjust time budger for an activity.
Definition: Hare_THare.cpp:298
void Warn(std::string a_msg1, std::string a_msg2)
Wrapper for the g_msg Warn function.
Definition: Landscape.h:2250
int m_Location_x
The objects ALMaSS x coordinate.
Definition: PopulationManager.h:362
Definition: LandscapeFarmingEnums.h:150
Definition: LandscapeFarmingEnums.h:853
Definition: LandscapeFarmingEnums.h:126
int m_peg_x
peg x-coordinate
Definition: Hare_All.h:256
CfgFloat cfg_Hare_StdSpeedRunning
Definition: Hare_All.h:90
Definition: LandscapeFarmingEnums.h:910
Definition: Treatment.h:33