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
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Hare_toletov.h
Go to the documentation of this file.
1 #ifndef Hare_toletov_H
2 #define Hare_toletov_H
3 
4 bool hare_tole_init_friendly(Landscape * m_TheLandscape, int x, int y);
5 bool hare_tole_can_walkacross(Landscape* m_TheLandscape, int x, int y);
7 
8 void hare_tov_SetVegPalatability(double *vp);
9 
10 #endif
toc_None
Definition: LandscapeFarmingEnums.h:925
toc_Potatoes
Definition: LandscapeFarmingEnums.h:891
tole_SandDune
Definition: LandscapeFarmingEnums.h:103
cfg_hare_ExtEff
CfgFloat cfg_hare_ExtEff
THare::m_vegPalatability
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
toc_OPotatoesIndustry
Definition: LandscapeFarmingEnums.h:852
tole_SwampForest
Definition: LandscapeFarmingEnums.h:135
THare_Population_Manager
The class that handles all the population lists for hares.
Definition: Hare_All.h:529
g_rand_uni_fnc
double g_rand_uni_fnc()
Definition: ALMaSS_Random.cpp:56
activity_Walking
Definition: Hare_All.h:93
toc_OPotatoes
Definition: LandscapeFarmingEnums.h:851
Landscape::SupplyElementType
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
tole_Churchyard
Definition: LandscapeFarmingEnums.h:108
Population_Manager_Base::SupplySimH
int SupplySimH() const
Returns landscape height in m.
Definition: PopulationManager.h:569
THare::~THare
~THare() override
Destructor.
Definition: Hare_THare.cpp:109
tole_AmenityGrass
Definition: LandscapeFarmingEnums.h:98
THare::m_pesticidedegradationrate
double m_pesticidedegradationrate
State variable used to hold the daily degredation rate of the pesticide in the body.
Definition: Hare_All.h:306
THare::m_SpeedWalking
double m_SpeedWalking
m/min speed of walking per kg hare
Definition: Hare_All.h:248
hare_tole_init_friendly
bool hare_tole_init_friendly(Landscape *m_TheLandscape, int x, int y)
Definition: Hare_toletov.cpp:4
Hare_toletov.h
tole_BareRock
Definition: LandscapeFarmingEnums.h:97
tole_Carpark
Definition: LandscapeFarmingEnums.h:107
TAnimal::m_guard_cell_y
int m_guard_cell_y
The index y to the guard cell.
Definition: PopulationManager.h:374
Landscape::SupplyAttIsWater
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
THare::m_Lifespan
int m_Lifespan
Physiolocal lifespan, assuming nothing else kills the hare (unlikely to reach this age)
Definition: Hare_All.h:198
THare_Population_Manager::m_AdultMortRate
double m_AdultMortRate
Input variable - Adult mortality rate.
Definition: Hare_All.h:741
THare::WasPredated
virtual bool WasPredated()
Test for predation.
Definition: Hare_THare.cpp:341
tole_MetalledPath
Definition: LandscapeFarmingEnums.h:106
CfgFloat::value
double value() const
Definition: Configurator.h:142
tohs_InitialState
Definition: Hare_All.h:72
THare_Population_Manager::GetHareRefNum
int GetHareRefNum()
Get the next ID number available.
Definition: Hare_All.h:546
THare::m_ActivityTime
int m_ActivityTime
Minutes of potential activity time per day.
Definition: Hare_All.h:203
FarmToDo
FarmToDo
Definition: Treatment.h:31
THare_Population_Manager::AddHareDensity
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
Hare_Female::ON_YoungKilled
void ON_YoungKilled(THare *a_young)
A leveret has been killed.
Definition: Hare_All.cpp:3538
THare::m_OurPopulationManager
THare_Population_Manager * m_OurPopulationManager
Pointer to the hare population manager.
Definition: Hare_All.h:194
THare::OnFarmEvent
bool OnFarmEvent(FarmToDo event) override
Do we require a response to a farm event.
Definition: Hare_THare.cpp:356
cfg_hare_escape_dist
CfgInt cfg_hare_escape_dist
THare::loadVegPalatability
void loadVegPalatability(void)
Loads static member m_vegPalatability with data.
Definition: Hare_THare.cpp:114
cfg_hare_max_age_var
CfgInt cfg_hare_max_age_var
THare::m_KJForaging
double m_KJForaging
KJ/m cost of foraging per kg hare.
Definition: Hare_All.h:238
tole_BuiltUpWithParkland
Definition: LandscapeFarmingEnums.h:102
activity_Dispersal
Definition: Hare_All.h:94
THare::GetRMR
double GetRMR()
Get todays RMR.
Definition: Hare_THare.cpp:333
toc_PotatoesSeed
Definition: LandscapeFarmingEnums.h:893
THare::st_Dispersal
virtual TTypeOfHareState st_Dispersal()
Base implementation only - reimplemented.
Definition: Hare_THare.cpp:122
THare::THareInit
void THareInit(int p_x, int p_y, THare_Population_Manager *p_PPM)
Object Initiation.
Definition: Hare_THare.cpp:70
tole_UrbanNoVeg
Definition: LandscapeFarmingEnums.h:100
toc_PlantNursery
Definition: LandscapeFarmingEnums.h:890
tole_FishFarm
Definition: LandscapeFarmingEnums.h:124
TTypesOfLandscapeElement
TTypesOfLandscapeElement
Values that represent the types of landscape polygon that are represented in ALMaSS.
Definition: LandscapeFarmingEnums.h:57
tole_Parkland
Definition: LandscapeFarmingEnums.h:99
Landscape
The landscape class containing all environmental and topographical data.
Definition: Landscape.h:142
THare::m_KJWalking
double m_KJWalking
KJ/m cost of walking per kg hare.
Definition: Hare_All.h:233
THare::m_fatReserve
double m_fatReserve
State variable - the energy reserve of the hare.
Definition: Hare_All.h:213
tole_Coast
Definition: LandscapeFarmingEnums.h:89
THare::m_lastYearsDensity
int m_lastYearsDensity
State variable used in alternative density-dependent configurations.
Definition: Hare_All.h:276
tohs_DestroyObject
Definition: Hare_All.h:81
THare::m_experiencedDensity
int m_experiencedDensity
State variable used in alternative density-dependent configurations.
Definition: Hare_All.h:271
THare::m_KJRunning
double m_KJRunning
KJ/m cost of running per kg hare.
Definition: Hare_All.h:228
tole_Pond
Definition: LandscapeFarmingEnums.h:123
TAnimal::m_Location_y
int m_Location_y
The objects ALMaSS y coordinate.
Definition: PopulationManager.h:366
tole_Building
Definition: LandscapeFarmingEnums.h:84
toc_OStarchPotato
Definition: LandscapeFarmingEnums.h:874
THare::m_RefNum
int m_RefNum
Unique hare reference number, also functions as sex flag.
Definition: Hare_All.h:265
cfg_ForageRestingRatio
CfgFloat cfg_ForageRestingRatio
THare::m_pesticideInfluenced1
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
TAnimal::m_OurLandscape
static Landscape * m_OurLandscape
A pointer to the landscape object shared with all TAnimal objects.
Definition: PopulationManager.h:342
TTypeOfActivity
TTypeOfActivity
Enumerator for hare activities.
Definition: Hare_All.h:89
THare::Walking
void Walking(int a_dist, int a_direction)
Walking.
Definition: Hare_THare.cpp:176
hare_tole_init_friendly
bool hare_tole_init_friendly(Landscape *m_TheLandscape, int x, int y)
Definition: Hare_toletov.cpp:4
TAnimal
The base class for all ALMaSS animal classes. Includes all the functionality required to be handled b...
Definition: PopulationManager.h:200
hare_tole_can_walkacross
bool hare_tole_can_walkacross(Landscape *m_TheLandscape, int x, int y)
Definition: Hare_toletov.cpp:41
activity_Foraging
Definition: Hare_All.h:92
tole_Saltpans
Definition: LandscapeFarmingEnums.h:133
tole_UrbanPark
Definition: LandscapeFarmingEnums.h:101
THare_Population_Manager::GetRMR
double GetRMR(int a_age, double a_size)
Returns the RMR given a specific age and mass.
Definition: Hare_All.cpp:932
toc_PotatoesIndustry
Definition: LandscapeFarmingEnums.h:892
THare::m_SpeedRunning
double m_SpeedRunning
m/min speed of running per kg hare
Definition: Hare_All.h:243
cfg_hare_lowfatextramort
static CfgFloat cfg_hare_lowfatextramort("HARE_LOWFATEXTRAMORT", CFG_CUSTOM, 10.0)
THare::m_ddindex
int m_ddindex
State variable used in alternative density-dependent configurations.
Definition: Hare_All.h:281
THare::m_TodaysEnergy
double m_TodaysEnergy
State variable - the amount of energy available today, can be in deficit.
Definition: Hare_All.h:218
hare_tole_can_walkacross
bool hare_tole_can_walkacross(Landscape *m_TheLandscape, int x, int y)
Definition: Hare_toletov.cpp:41
cfg_Hare_Recovery_Time
CfgInt cfg_Hare_Recovery_Time
TALMaSSObject::m_StepDone
bool m_StepDone
Indicates whether the iterative step code is done for this timestep.
Definition: PopulationManager.h:133
hare_tov_SetVegPalatability
void hare_tov_SetVegPalatability(double *vp)
Definition: Hare_toletov.cpp:61
tole_HeritageSite
Definition: LandscapeFarmingEnums.h:112
THare::EnergyBalance
void EnergyBalance(TTypeOfActivity a_activity, int dist)
Adjust energy balance for an activity.
Definition: Hare_THare.cpp:261
hare_tov_SetVegPalatability
void hare_tov_SetVegPalatability(double *vp)
Definition: Hare_toletov.cpp:61
THare::m_foragingenergy
double m_foragingenergy
Energy obtained from foraging/feeding.
Definition: Hare_All.h:252
CfgInt::value
int value() const
Definition: Configurator.h:116
tole_Copse
Definition: LandscapeFarmingEnums.h:104
tole_DrainageDitch
Definition: LandscapeFarmingEnums.h:127
toc_Tulips
Definition: LandscapeFarmingEnums.h:913
THare::st_Dying
void st_Dying()
Tidy up before removing the object on death.
Definition: Hare_THare.cpp:165
Population_Manager::UpdateGuardMap
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
THare::m_expDensity
int m_expDensity[365]
State variable used in alternative density-dependent configurations.
Definition: Hare_All.h:286
THare::m_DensitySum
int m_DensitySum
State variable used in alternative density-dependent configurations.
Definition: Hare_All.h:291
cfg_hare_adult_predation
CfgInt cfg_hare_adult_predation
tole_Canal
Definition: LandscapeFarmingEnums.h:128
THare::m_pesticide_burden
double m_pesticide_burden
State variable used to hold the current body-burden of pesticide.
Definition: Hare_All.h:301
THare::m_Age
int m_Age
State variale - hare age.
Definition: Hare_All.h:170
toc_PotatoesSpring
Definition: LandscapeFarmingEnums.h:894
tole_Freshwater
Definition: LandscapeFarmingEnums.h:86
cfg_hare_minimum_breeding_weight
CfgInt cfg_hare_minimum_breeding_weight
tole_Stream
Definition: LandscapeFarmingEnums.h:111
tole_Saltwater
Definition: LandscapeFarmingEnums.h:88
THare::m_CurrentHState
TTypeOfHareState m_CurrentHState
Defines the current activity.
Definition: Hare_All.h:165
tole_River
Definition: LandscapeFarmingEnums.h:87
toc_OSugarBeet
Definition: LandscapeFarmingEnums.h:875
CfgInt
Integer configurator entry class.
Definition: Configurator.h:102
THare::THare
THare(int p_x, int p_y, Landscape *p_L, THare_Population_Manager *p_PPM)
Constructor.
Definition: Hare_THare.cpp:64
cfg_hare_pesticidedegradationrate
static CfgFloat cfg_hare_pesticidedegradationrate("HARE_PESTICIDEDEGRADATIONRATE", CFG_CUSTOM, 0.0)
TAnimal::m_guard_cell_x
int m_guard_cell_x
The index x to the guard cell.
Definition: PopulationManager.h:370
THare::m_StarvationDays
int m_StarvationDays
State variable - the number of consecutive days in negative energy balance.
Definition: Hare_All.h:208
activity_Recovery
Definition: Hare_All.h:95
CfgFloat
Double configurator entry class.
Definition: Configurator.h:126
Population_Manager_Base::SupplySimW
int SupplySimW() const
Returns landscape width in m.
Definition: PopulationManager.h:567
activity_Running
Definition: Hare_All.h:91
TTypeOfHareState
TTypeOfHareState
Enumerator for hare behavioural states.
Definition: Hare_All.h:71
cfg_hare_max_age
CfgInt cfg_hare_max_age
THare::GetTotalWeight
double GetTotalWeight()
Provide the wet weight of the hare.
Definition: Hare_All.h:370
THare::Running
virtual void Running(int a_max_dist)
Run.
Definition: Hare_THare.cpp:136
THare::m_MyMum
Hare_Female * m_MyMum
Pointer to the hare's mum.
Definition: Hare_All.h:190
CFG_CUSTOM
Definition: Configurator.h:70
g_random_fnc
int g_random_fnc(const int a_range)
Definition: ALMaSS_Random.cpp:74
THare::m_peg_y
int m_peg_y
peg y-coordinate
Definition: Hare_All.h:260
cfg_Hare_StdSpeedWalking
CfgFloat cfg_Hare_StdSpeedWalking
THare::m_weight
double m_weight
State variale - hare weight g.
Definition: Hare_All.h:180
THare::m_Type
Hare_Object m_Type
State variale - the type of hare.
Definition: Hare_All.h:175
THare::Run
bool Run(int a_dist, int a_direction)
Run a distance in a direction.
Definition: Hare_THare.cpp:186
TALMaSSObject::m_CurrentStateNo
int m_CurrentStateNo
The basic state number for all objects - '-1' indicates death.
Definition: PopulationManager.h:131
THare_Population_Manager::SubtractHareDensity
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
toc_Foobar
Definition: LandscapeFarmingEnums.h:926
THare::TimeBudget
void TimeBudget(TTypeOfActivity a_activity, int dist)
Adjust time budger for an activity.
Definition: Hare_THare.cpp:298
Landscape::Warn
void Warn(std::string a_msg1, std::string a_msg2)
Wrapper for the g_msg Warn function.
Definition: Landscape.h:2250
TAnimal::m_Location_x
int m_Location_x
The objects ALMaSS x coordinate.
Definition: PopulationManager.h:362
tole_RiceField
Definition: LandscapeFarmingEnums.h:150
toc_OPotatoesSeed
Definition: LandscapeFarmingEnums.h:853
tole_RiverBed
Definition: LandscapeFarmingEnums.h:126
THare::m_peg_x
int m_peg_x
peg x-coordinate
Definition: Hare_All.h:256
cfg_Hare_StdSpeedRunning
CfgFloat cfg_Hare_StdSpeedRunning
activity_Resting
Definition: Hare_All.h:90
toc_SugarBeet
Definition: LandscapeFarmingEnums.h:910
sleep_all_day
Definition: Treatment.h:33