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
VolePopulationManager.h
Go to the documentation of this file.
1 /*
2 *******************************************************************************************************
3 Copyright (c) 2011, Christopher John Topping, Aarhus University
4 All rights reserved.
5 
6 Redistribution and use in source and binary forms, with or without modification, are permitted provided
7 that the following conditions are met:
8 
9 Redistributions of source code must retain the above copyright notice, this list of conditions and the
10 following disclaimer.
11 Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
12 the following disclaimer in the documentation and/or other materials provided with the distribution.
13 
14 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
15 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
16 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS
17 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
18 BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
19 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
20 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22 ********************************************************************************************************
23 */
39 //---------------------------------------------------------------------------
40 
41 #ifndef VolePopulationManagerH
42 #define VolePopulationManagerH
43 
44 //---------------------------------------------------------------------------
45 
46 class struct_Vole_Adult;
47 class TAnimal;
48 class Vole_Male;
49 class Vole_Female;
50 class AlleleFreq1616;
51 class AlleleFreq;
52 class APoint;
53 
54 //------------------------------------------------------------------------------
55 
56 typedef vector<Vole_Male*> Vole_MaleList;
57 typedef vector<Vole_Female*> Vole_FemaleList;
58 
63 typedef enum {
66 
71 typedef enum {
87 
92 class TrapLineMap : public BinaryMapBase {
93 public:
95  TrapLineMap(unsigned int a_width, unsigned int a_height, unsigned int a_resolution, const char* a_file);
97  ~TrapLineMap();
99  bool IsTrap(const unsigned a_x, const unsigned a_y) {
100  if (GetValue(a_x, a_y) == 1) return true;
101  return false;
102  }
103  void Output(const InTrapPosition& a_tp, int a_day, int a_sex, bool a_terr, int a_age, int a_bx, int a_by,
104  int a_ID) const;
105 
106 protected:
108  void Init(const char* a_inifile);
110  unsigned m_noTraps;
112  vector<APoint> m_TrapCoords;
113  FILE* m_ofile;
114 };
115 
121 public:
122  VoleSummaryOutput(const char* a_filename, Landscape* a_land, int a_numdataINT, int a_numdataDOUBLE);
123  virtual ~VoleSummaryOutput();
124  virtual void OPrint();
125  virtual void OPrint(int a_value);
126  virtual void OPrint(double a_value);
127  virtual void OPrint(const char* a_value);
128  virtual void OPrintEndl();
129  void ResetData();
130  void ChangeData(int a_data, int a_value);
131  void ChangeData(int a_data, double a_value);
132 
133 protected:
134  ofstream* m_File;
136  int m_ndInt;
138  int m_dataI[100]; // This is way more than we should ever need
139  double m_dataD[100]; // This is way more than we should ever need
140  void OpenOutput(const char* a_filename);
141  void CloseOutput() const;
142 };
143 
149 protected:
151  void DoFirst() override;
152  void Catastrophe() override;
154  int m_male1;
156  int m_total1;
157 
158  int m_male2;
160  int m_total2;
161 
162  int m_male3;
164  int m_total3;
165  //double m_BaseVoleDensity;
167  vector<double> VoleHabitatBaseQualities;
168  bool OpenSexRatiosProbe();
169  void CloseSexRatiosProbe();
170  bool SuitableStartingLocation(int a_x, int a_y) const;
171  double AssessHabitat(int p_Polyref) const;
172 
173 #ifdef __VOLEPESTICIDEON
174 public:
175  void AddToImpacted() {m_impacted++;}
176  void AddToNotImpacted() {m_notimpacted++;}
177  void AddToGeneticImpacted() {m_geneticimpacted++;}
178  void incLittersLost() { m_LittersLost++; }
179  void incLittersProduced() { m_LittersProduced++; }
180 protected:
181  int m_impacted; // counter for voles hit and affected by pesticide
182  int m_notimpacted; // counter for voles not hit and affected by pesticide
183  int m_geneticimpacted; // counter for voles not hit and affected by pesticide
184  double m_geneticsterilitychance;
185  double m_f1sterilitychance;
186  int m_LittersLost;
187  int m_LittersProduced;
188 #endif
191 
192 public:
196  uint32 GetVoleAllele(const int a_list, const int a_vole, const int a_locus, const int a_chromosome) {
197  const auto new_VB = dynamic_cast<Vole_Base*>(SupplyAnimalPtr(a_list, a_vole));
198  return new_VB->SupplyMyAllele(a_locus, a_chromosome);
199  }
200  void ImpactedProbe() override;
201  bool IsTrap(int p_x, int p_y) const {
202  m_TheLandscape->CorrectCoords(p_x, p_y);
203  return m_Traplines->IsTrap(p_x, p_y);
204  }
205  //virtual void Catastrophe(int a_mort);
206  void TheAgeSexLocationProbe();
207  void TheAOROutputProbe() override;
208  void TheRipleysOutputProbe(ofstream* a_prb) override;
209  void TheReallyBigOutputProbe() override;
210  virtual void TheSexRatiosProbe();
211  virtual void LandscapeQuadrantOutputProbe(int a_day);
212  void AddToFrag1Male() { m_male1++; } // ***TD***
214  void AddToFrag2Male() { m_male2++; }
216  void AddToFrag3Male() { m_male3++; }
218  int ReproTable[4][12]; // Filled in by init function
219  unsigned IDNumber;
225  ~Vole_Population_Manager() override;
226  void CreateObjects(VoleObject a_obType, TAnimal* a_pvo, struct_Vole_Adult* a_as, int a_number);
227  void CreateObjectsInit(VoleObject a_obType, TAnimal* a_pvo, struct_Vole_Adult* a_voleStruct, int a_number);
228  virtual void Init();
229  static bool RecordGeneticsToday(int p_today, int p_year, int p_start_year, int p_interval);
230  double GetHabitatQuality(const int a_index) const { return VoleHabitatBaseQualities[a_index]; }
231  bool SupplyOlderFemales(unsigned p_x, unsigned p_y, unsigned p_Age, unsigned p_range) const;
232  int SupplyHowManyVoles(unsigned a_x, unsigned a_y, unsigned a_range) const;
233  int SupplyGrowthStartDate() const { return m_GrowthStartDate; }
234  int SupplyInOlderTerr(unsigned p_x, unsigned p_y, unsigned p_Age, unsigned p_Range) const;
235  int SupplyCountFemales(unsigned p_x, unsigned p_y, unsigned p_TerrRange) const;
236  void SendMessage(TTypeOfVoleMessage p_message, unsigned p_x, unsigned p_y, unsigned p_range, bool p_sex,
237  double p_Weight /*, unsigned p_IDNo*/);
238  vector<Vole_Base*>* SupplyVoleList(unsigned x, unsigned y, unsigned range) const;
239  bool InSquare(int p_x, int p_y, int p_sqx, int p_sqy, int p_range) const;
240  int ListClosestFemales(int p_x, int p_y, int p_steps);
241  int ListClosestMales(int p_x, int p_y, int p_steps);
242  Vole_Female* FindClosestFemale(int p_x, int p_y, int p_steps) const;
243  Vole_Male* FindClosestMale(int p_x, int p_y, int p_steps) const;
245  void AddToYoung(const int young) { YoungProducedToday += young; }
246  Vole_Male* FindWithinRadiusMale(int p_x, int p_y) const;
247  Vole_Male* FindOutsideRadiusMale(int p_x, int p_y); // ***TD***
248  bool BarrierSearch(int F_x, int F_y, int M_x, int M_y) const; // ***TD***
249  void AddToYoungYr(const int young) { YoungProducedToday += young; }
250  void AddToJuvs(const int juvs) { JuvsProducedToday += juvs; }
251  void AddToNoYoungInfanticideCount(const int m_NoOfYoung, const int m_YoungAge) {
252  // ***TD***
253  NoYoungKilledToday += m_NoOfYoung;
254  if (m_YoungAge < 5) { NoYoungKilledToday4 += m_NoOfYoung; }
255  else if (m_YoungAge < 9) { NoYoungKilledToday8 += m_NoOfYoung; }
256  else { NoYoungKilledToday9 += m_NoOfYoung; }
257  }
258  void ReproductionProbe() const;
259  /* THIS FUNCTION IS OUTDATED; BUT MAYBE A REPLACEMENT IS NEEDED!!
260  void TheGeneticProbe(unsigned listindex,int ProbeNo,unsigned &SubSize);
261  */
262  void GeneticsOutputFile(unsigned listindex);
263  void GeneticsResultsOutput(FILE* ofile, unsigned listindex) override;
265  void OpenResistanceOutput();
267  void CloseResistanceOutput() const;
269  void ResistanceOutput();
270 
271  // Attributes
275  FILE* YoungsFile;
278 };
279 
280 //------------------------------------------------------------------------------
281 #endif
cfg_MinReproAgeM
CfgInt cfg_MinReproAgeM
Population_Manager::TestFile2
FILE * TestFile2
Definition: PopulationManager.h:817
Vole_Population_Manager::TheAgeSexLocationProbe
void TheAgeSexLocationProbe()
Definition: VolePopulationManager.cpp:3053
vob_JuvenileFemale
Definition: vole_all.h:96
cfg_RecordVoleMort
CfgBool cfg_RecordVoleMort("VOLE_RECORDMORT_ON", CFG_CUSTOM, false)
vole_tole_init_optimal
int vole_tole_init_optimal(Landscape *m_TheLandscape, int x, int y)
Definition: Vole_toletoc.cpp:342
TAnimal::Supply_m_Location_x
int Supply_m_Location_x() const
Returns the ALMaSS x-coordinate.
Definition: PopulationManager.h:239
cfg_useagesexlocation
static CfgBool cfg_useagesexlocation("VOLE_USEAGESEXLOCATION", CFG_CUSTOM, false)
Vole_Population_Manager::AddToFrag2Male
void AddToFrag2Male()
Definition: VolePopulationManager.h:214
tovmort_MPest
Definition: VolePopulationManager.h:84
MutationChance
double MutationChance
Definition: GeneticMaterial.cpp:49
Landscape::SupplyNumberOfPolygons
unsigned int SupplyNumberOfPolygons(void)
Returns the number of polygons in the landscape.
Definition: Landscape.h:2127
WARN_FILE
Definition: MapErrorMsg.h:37
Vole_Population_Manager::AddToFrag1Male
void AddToFrag1Male()
Definition: VolePopulationManager.h:212
g_rand_uni_fnc
double g_rand_uni_fnc()
Definition: ALMaSS_Random.cpp:56
VoleSummaryOutput::CloseOutput
void CloseOutput() const
Definition: VolePopulationManager.cpp:3294
Vole_Population_Manager::ImpactedProbe
void ImpactedProbe() override
Definition: VolePopulationManager.cpp:462
cfg_MinFemaleTerritorySize
CfgInt cfg_MinFemaleTerritorySize
cfg_VoleUseResistanceOuput
static CfgBool cfg_VoleUseResistanceOuput("VOLE_RESISTANCEOUTPUT_ON_OFF", CFG_CUSTOM, false)
Population_Manager::SupplyAnimalPtr
virtual TAnimal * SupplyAnimalPtr(unsigned int a_index, unsigned int a_animal)
Returns the pointer indexed by a_index and a_animal. Note NO RANGE CHECK.
Definition: PopulationManager.h:678
cfg_PmEventfrequency
CfgInt cfg_PmEventfrequency
Landscape::SupplyMeanTemp
double SupplyMeanTemp(long a_date, unsigned int a_period)
Passes a request on to the associated Weather class function, the mean temperature for the current da...
Definition: Landscape.h:1978
cfg_MaxAllele
static CfgInt cfg_MaxAllele("GENETICS_MAXALLELE", CFG_CUSTOM, 255)
Vole_Population_Manager::IsTrap
bool IsTrap(int p_x, int p_y) const
Definition: VolePopulationManager.h:201
tovmort_MPred
Definition: VolePopulationManager.h:80
cfg_vole_starting_numberF
static CfgInt cfg_vole_starting_numberF("VOLE_START_NO_F", CFG_CUSTOM, 5000)
cfg_VoleDDepConst
CfgInt cfg_VoleDDepConst
Landscape::SupplyVegType
TTypesOfVegetation SupplyVegType(int a_x, int a_y)
Returns the vegetation type of the polygon using the polygon reference number a_polyref or coordinate...
Definition: Landscape.h:1925
cfg_VoleSampleFileDayTwo
static CfgInt cfg_VoleSampleFileDayTwo("VOLE_SAMPLE_FILE_DAY_TWO", CFG_CUSTOM, 287)
tovs_MDying
Definition: vole_all.h:61
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
VoleSummaryOutput::OpenOutput
void OpenOutput(const char *a_filename)
Definition: VolePopulationManager.cpp:3293
Vole_Population_Manager::AddToJuvs
void AddToJuvs(const int juvs)
Definition: VolePopulationManager.h:250
g_DailyMortChance
double g_DailyMortChance
Definition: Vole_all.cpp:183
VoleSummaryOutput::OPrint
virtual void OPrint()
Definition: VolePopulationManager.cpp:3283
Vole_Population_Manager::FindOutsideRadiusMale
Vole_Male * FindOutsideRadiusMale(int p_x, int p_y)
Definition: VolePopulationManager.cpp:1773
Vole_Base::CopyMyself
void CopyMyself(VoleObject a_vole)
Duplicates a vole.
Definition: Vole_all.cpp:300
Population_Manager::m_population_type
TTypesOfPopulation m_population_type
Definition: PopulationManager.h:858
tovs_GiveBirth
Definition: vole_all.h:66
cfg_extradispmort
CfgFloat cfg_extradispmort
Input parameter for daily extra mortality chance while dispersing.
Vole_Base
Base class for voles - all vole objects are descended from this class.
Definition: vole_all.h:145
cfg_VoleSampleDataUsed
static CfgBool cfg_VoleSampleDataUsed("VOLE_SAMPLE_FILE_USED", CFG_CUSTOM, false)
Vole_Population_Manager::CloseSexRatiosProbe
void CloseSexRatiosProbe()
Definition: VolePopulationManager.cpp:3178
vob_Female
Definition: vole_all.h:98
CfgStr::value
char * value() const
Definition: Configurator.h:182
cfg_VoleResistanceDay
static CfgInt cfg_VoleResistanceDay("VOLE_RESISTANCEOUTPUT_DAY", CFG_CUSTOM, 365)
Vole_Population_Manager::MList
Vole_MaleList MList
Definition: VolePopulationManager.h:223
Vole_Population_Manager::SupplyHowManyVoles
int SupplyHowManyVoles(unsigned a_x, unsigned a_y, unsigned a_range) const
Definition: VolePopulationManager.cpp:890
Vole_Population_Manager::OpenResistanceOutput
void OpenResistanceOutput()
Opens the output file ready for resistance results.
Definition: VolePopulationManager.cpp:3462
Population_Manager::BeforeStepActions
vector< unsigned > BeforeStepActions
Holds the season list of possible before step actions.
Definition: PopulationManager.h:819
Vole_Population_Manager::FindClosestFemale
Vole_Female * FindClosestFemale(int p_x, int p_y, int p_steps) const
Definition: VolePopulationManager.cpp:1602
tovs_ReproBehaviour
Definition: vole_all.h:64
Vole_Population_Manager::Catastrophe
void Catastrophe() override
Definition: VolePopulationManager.cpp:2896
tovs_FEvaluateExplore
Definition: vole_all.h:63
VoleSummaryOutput::m_dataI
int m_dataI[100]
Definition: VolePopulationManager.h:138
Vole_Population_Manager::OpenSexRatiosProbe
bool OpenSexRatiosProbe()
Definition: VolePopulationManager.cpp:3161
Landscape::CorrectCoords
void CorrectCoords(int &x, int &y)
Function to prevent wrap around errors with co-ordinates using x/y pair.
Definition: Landscape.h:2206
tovm_Infanticide
Definition: VolePopulationManager.h:64
Vole_Population_Manager::CloseResistanceOutput
void CloseResistanceOutput() const
Closes the output file ready for resistance results.
Definition: VolePopulationManager.cpp:3475
BinaryMapBase::ClearMap
void ClearMap()
Definition: BinaryMapBase.cpp:74
BinaryMapBase::GetValue
uint64 GetValue(unsigned a_x, unsigned a_y)
Definition: BinaryMapBase.cpp:79
CfgStr
String configurator entry class.
Definition: Configurator.h:173
struct_Vole_Adult::FatherStateAtBirth
int FatherStateAtBirth
Definition: vole_all.h:129
g_date
class Calendar * g_date
Definition: Calendar.cpp:37
Population_Manager_Base::SupplyLocXY
virtual void SupplyLocXY(unsigned, unsigned, int &, int &)
A stub for identifying an individual at a location.
Definition: PopulationManager.h:593
Population_Manager_Base::m_ListNames
const char * m_ListNames[32]
A list of life-stage names.
Definition: PopulationManager.h:628
tovmort_MLife
Definition: VolePopulationManager.h:82
vob_JuvenileMale
Definition: vole_all.h:95
cfg_SexRatiosOutput_day
static CfgInt cfg_SexRatiosOutput_day("VOLE_SEXRATIOSOUTPUT_DAY", CFG_CUSTOM, -1)
cfg_ReallyBigOutputUsed
CfgBool cfg_ReallyBigOutputUsed
cfg_volestartinoptimalonly
static CfgBool cfg_volestartinoptimalonly("VOLE_STARTINOPTIMALONLY", CFG_CUSTOM, false)
Vole_Population_Manager::NoYoungKilledToday9
int NoYoungKilledToday9
Definition: VolePopulationManager.h:274
Vole_Population_Manager::m_geneticproductfertilityeffect
int m_geneticproductfertilityeffect
Definition: VolePopulationManager.h:277
VoleSummaryOutput::m_ndInt
int m_ndInt
Definition: VolePopulationManager.h:136
tovmort_MFarm
Definition: VolePopulationManager.h:76
vob_Male
Definition: vole_all.h:97
Vole_Population_Manager::LandscapeQuadrantOutputProbe
virtual void LandscapeQuadrantOutputProbe(int a_day)
Definition: VolePopulationManager.cpp:2976
VoleSummaryOutput::ChangeData
void ChangeData(int a_data, int a_value)
Definition: VolePopulationManager.cpp:3302
Vole_Population_Manager::ListClosestMales
int ListClosestMales(int p_x, int p_y, int p_steps)
Definition: VolePopulationManager.cpp:1305
Vole_Population_Manager::m_total2
int m_total2
Definition: VolePopulationManager.h:160
TrapLineMap::Init
void Init(const char *a_inifile)
Reads in the trap coords, creates the map and sets up the output files.
Definition: VolePopulationManager.cpp:3231
cfg_GeneticsResultOutputFirstYear
static CfgInt cfg_GeneticsResultOutputFirstYear("GENETICS_RESULT_OUTPUT_FIRST_YEAR", CFG_CUSTOM, 100000)
tovs_UpdateGestation
Definition: vole_all.h:69
ReproTable_base
const float ReproTable_base[2][12]
Definition: VolePopulationManager.cpp:169
Population_Manager_Base::SimHH
int SimHH
stores the simulation height halved
Definition: PopulationManager.h:618
cfg_GeneticsResultOutputUsed
CfgBool cfg_GeneticsResultOutputUsed("GENETICS_RESULT_OUTPUT_USED", CFG_CUSTOM, false)
CfgFloat::value
double value() const
Definition: Configurator.h:142
uint32
unsigned int uint32
Definition: ALMaSS_Setup.h:34
Population_Manager::TestFile
FILE * TestFile
Definition: PopulationManager.h:816
Landscape::SupplyMonth
int SupplyMonth(void)
Passes a request on to the associated Calendar class function, returns m_month + 1 (the calendar mont...
Definition: Landscape.h:2272
struct_Vole_Adult
A struct for passing data to create a new vole.
Definition: vole_all.h:115
cfg_voleLandscapeGridOutputUsed
static CfgBool cfg_voleLandscapeGridOutputUsed("VOLE_LANDSCAPEGRIDOUTPUTUSED", CFG_CUSTOM, true)
cfg_geneticsterilitychance
static CfgFloat cfg_geneticsterilitychance("VOLE_GENETICSTERILITYCHANCE", CFG_CUSTOM, 0)
cfg_MinReproAgeF
CfgInt cfg_MinReproAgeF
cfg_MinMaleTerritorySize
CfgInt cfg_MinMaleTerritorySize
Population_Manager::m_StepSize
int m_StepSize
Definition: PopulationManager.h:802
Calendar::GetDayInMonth
int GetDayInMonth(void)
Definition: Calendar.h:77
AnimalPosition::m_x
unsigned m_x
Definition: PopulationManager.h:173
TrapLineMap
A class for simulation virtual traplines.
Definition: VolePopulationManager.h:92
tovs_Infanticide
Definition: vole_all.h:60
cfg_VoleBackgroundMort
static CfgFloat cfg_VoleBackgroundMort("VOLE_BCKMORT", CFG_CUSTOM, 0.0025)
MinReproAgeM
int MinReproAgeM
Definition: Vole_all.cpp:139
cfg_SexRatiosOutput_interval
static CfgInt cfg_SexRatiosOutput_interval("VOLE_SEXRATIOSOUTPUT_INTERVAL", CFG_CUSTOM, 1)
Vole_Population_Manager::ReproductionProbe
void ReproductionProbe() const
Definition: VolePopulationManager.cpp:969
cfg_ResistanceStartFrequency
static CfgFloat cfg_ResistanceStartFrequency("VOLE_RESISTANCESTARTFREQ", CFG_CUSTOM, 0.01)
Vole_Population_Manager::SendMessage
void SendMessage(TTypeOfVoleMessage p_message, unsigned p_x, unsigned p_y, unsigned p_range, bool p_sex, double p_Weight)
Definition: VolePopulationManager.cpp:2711
Population_Manager_Base::m_ListNameLength
int m_ListNameLength
the number of life-stages simulated in the population manager
Definition: PopulationManager.h:626
tovmort_FDisp
Definition: VolePopulationManager.h:79
Vole_Population_Manager::GeneticsOutputFile
void GeneticsOutputFile(unsigned listindex)
Definition: VolePopulationManager.cpp:3307
vole_tole_init_friendly
int vole_tole_init_friendly(Landscape *m_TheLandscape, int x, int y)
Definition: Vole_toletoc.cpp:381
cfg_GrassStartGrowthDay
static CfgFloat cfg_GrassStartGrowthDay("VOLE_GRASSSTARTGROWTHDAY", CFG_CUSTOM, 80)
Vole_FemaleList
vector< Vole_Female * > Vole_FemaleList
Definition: VolePopulationManager.h:57
Vole_JuvenileFemale
The class for female voles.
Definition: vole_all.h:536
tovs_SpecialExplore
Definition: vole_all.h:70
tovs_InitialState
Definition: vole_all.h:55
cfg_GeneticsResultOutputInterval_1
static CfgInt cfg_GeneticsResultOutputInterval_1("GENETICS_RESULT_OUTPUT_INTERVAL_ONE", CFG_CUSTOM, 100000)
Vole_Population_Manager::m_GrowthStartDate
int m_GrowthStartDate
Definition: VolePopulationManager.h:153
Vole_Population_Manager::VoleHabitatBaseQualities
vector< double > VoleHabitatBaseQualities
Definition: VolePopulationManager.h:167
Vole_Population_Manager::SuitableStartingLocation
bool SuitableStartingLocation(int a_x, int a_y) const
Definition: VolePopulationManager.cpp:450
tovs_JuvenileExploration
Definition: vole_all.h:57
cfg_VoleSampleFileDayOne
static CfgInt cfg_VoleSampleFileDayOne("VOLE_SAMPLE_FILE_DAY_ONE", CFG_CUSTOM, 109)
CfgBool::value
bool value() const
Definition: Configurator.h:164
Vole_Population_Manager::InSquare
bool InSquare(int p_x, int p_y, int p_sqx, int p_sqy, int p_range) const
Definition: VolePopulationManager.cpp:2555
Population_Manager_Base::m_TheLandscape
Landscape * m_TheLandscape
holds an internal pointer to the landscape
Definition: PopulationManager.h:624
Vole_Base::SupplyAge
unsigned SupplyAge()
Definition: vole_all.h:369
Vole_Population_Manager::GeneticsResultsOutput
void GeneticsResultsOutput(FILE *ofile, unsigned listindex) override
Definition: VolePopulationManager.cpp:3396
Vole_Population_Manager::m_VoleResistanceOutputFile
ofstream * m_VoleResistanceOutputFile
Definition: VolePopulationManager.h:190
Vole_Population_Manager::m_female3
int m_female3
Definition: VolePopulationManager.h:163
Population_Manager_Base::SimWH
int SimWH
stores the simulation width halved
Definition: PopulationManager.h:620
Vole_Population_Manager::AddToNoYoungInfanticideCount
void AddToNoYoungInfanticideCount(const int m_NoOfYoung, const int m_YoungAge)
Definition: VolePopulationManager.h:251
vob_foobar
Definition: vole_all.h:99
TrapLineMap::m_noTraps
unsigned m_noTraps
The total number of traps.
Definition: VolePopulationManager.h:110
Vole_Female
The class for female voles.
Definition: vole_all.h:578
TrapLineMap::~TrapLineMap
~TrapLineMap()
TrapLineMap destructor.
Definition: VolePopulationManager.cpp:3225
Vole_Population_Manager::SupplyVoleList
vector< Vole_Base * > * SupplyVoleList(unsigned x, unsigned y, unsigned range) const
Definition: VolePopulationManager.cpp:2611
cfg_VoleFemaleMove
static CfgFloat cfg_VoleFemaleMove("VOLE_FEMALEMOVE", CFG_CUSTOM, 0.0505)
Population_Manager::m_AOR_Probe
AOR_Probe * m_AOR_Probe
A pointer to the AOR probe.
Definition: PopulationManager.h:875
tovs_Mating
Definition: vole_all.h:68
Vole_Population_Manager::NoYoungKilledToday8
int NoYoungKilledToday8
Definition: VolePopulationManager.h:274
Vole_Population_Manager::YoungProducedToday
int YoungProducedToday
Definition: VolePopulationManager.h:273
Landscape
The landscape class containing all environmental and topographical data.
Definition: Landscape.h:142
Vole_Population_Manager::NoYoungKilledToday4
int NoYoungKilledToday4
Definition: VolePopulationManager.h:274
GeneticMaterial
Class for the genetic material optionally carried by animals in ALMaSS.
Definition: GeneticMaterial.h:94
g_MaxAllele
unsigned char g_MaxAllele
Definition: GeneticMaterial.cpp:50
Population_Manager_Base::SimH
int SimH
stores the simulation height
Definition: PopulationManager.h:614
g_NoFemalesMove
double g_NoFemalesMove
Definition: Vole_all.cpp:199
Vole_Population_Manager::TheSexRatiosProbe
virtual void TheSexRatiosProbe()
Definition: VolePopulationManager.cpp:3188
BinaryMapBase
Definition: BinaryMapBase.h:28
cfg_f1sterilitychance
static CfgFloat cfg_f1sterilitychance("VOLE_FONESTERILITYCHANCE", CFG_CUSTOM, 0.0)
Vole_Population_Manager::m_total3
int m_total3
Definition: VolePopulationManager.h:164
AOR_Probe::DoProbe
virtual void DoProbe(int a_lifestage)
Definition: AOR_Probe.cpp:104
IDMap::SetMapValue
void SetMapValue(unsigned x, unsigned y, a_type p)
Definition: MovementMap.h:143
cfg_VoleRecordMortFile
static CfgStr cfg_VoleRecordMortFile("VOLE_RECORDMORTFILE", CFG_CUSTOM, "VoleMortalityCauses.txt")
Vole_Population_Manager::FList
Vole_FemaleList FList
Definition: VolePopulationManager.h:221
IDMap::GetMapValue
a_type GetMapValue(unsigned x, unsigned y)
Definition: MovementMap.h:140
Vole_Population_Manager::SupplyCountFemales
int SupplyCountFemales(unsigned p_x, unsigned p_y, unsigned p_TerrRange) const
Definition: VolePopulationManager.cpp:2238
Landscape::SupplySimAreaWidth
int SupplySimAreaWidth(void)
Gets the simulation landscape width.
Definition: Landscape.h:2297
Vole_Population_Manager::TheRipleysOutputProbe
void TheRipleysOutputProbe(ofstream *a_prb) override
Special output functionality.
Definition: VolePopulationManager.cpp:3037
APoint
A simple class defining an x,y coordinate set.
Definition: ALMaSS_Setup.h:52
cfg_GeneticResultOutputSecondYear
static CfgInt cfg_GeneticResultOutputSecondYear("GENETICS_RESULT_OUTPUT_SECOND_YEAR", CFG_CUSTOM, 100000)
cfg_genetetic_output_sample_size
static CfgInt cfg_genetetic_output_sample_size("VOLE_GENETIC_SAMPLE_SIZE", CFG_CUSTOM, 500)
tovmort_FPest
Definition: VolePopulationManager.h:85
tovs_FDying
Definition: vole_all.h:71
CfgBool
Bool configurator entry class.
Definition: Configurator.h:155
TrapLineMap::m_TrapCoords
vector< APoint > m_TrapCoords
List of trap co-ordinates.
Definition: VolePopulationManager.h:112
AlleleFreq
Class to handle statistics and constructs based on allele frequencies.
Definition: GeneticMaterial.h:61
cfg_MutationChance
static CfgFloat cfg_MutationChance("GENETICS_MUTATION_CHANCE", CFG_CUSTOM, 0.001)
struct_Vole_Adult::FatherId
int FatherId
Definition: vole_all.h:127
TAnimal::Supply_m_Location_y
int Supply_m_Location_y() const
Returns the ALMaSS y-coordinate.
Definition: PopulationManager.h:243
TAnimal
The base class for all ALMaSS animal classes. Includes all the functionality required to be handled b...
Definition: PopulationManager.h:200
Vole_Base::SupplyTerritorial
bool SupplyTerritorial()
Definition: vole_all.h:335
tovs_FMaturation
Definition: vole_all.h:67
TrapLineMap::IsTrap
bool IsTrap(const unsigned a_x, const unsigned a_y)
Is there a trap at this x,y?
Definition: VolePopulationManager.h:99
Vole_Population_Manager::TheReallyBigOutputProbe
void TheReallyBigOutputProbe() override
Definition: VolePopulationManager.cpp:3086
struct_Vole_Adult::VPM
Vole_Population_Manager * VPM
Definition: vole_all.h:131
cfg_GeneticsResultOutputDay_1
static CfgInt cfg_GeneticsResultOutputDay_1("GENETICS_RESULT_OUTPUT_DAY_ONE", CFG_CUSTOM, 3)
tovmort_FBck
Definition: VolePopulationManager.h:75
Vole_Population_Manager::SexRatiosPrb
FILE * SexRatiosPrb
Definition: VolePopulationManager.h:194
tovmort_MDisp
Definition: VolePopulationManager.h:78
cfg_UseVoleTraplines
static CfgBool cfg_UseVoleTraplines("VOLE_TRAPLINES_ON_OFF", CFG_CUSTOM, false)
Vole_Population_Manager::m_female2
int m_female2
Definition: VolePopulationManager.h:159
MapErrorMsg::Warn
void Warn(MapErrorState a_level, std::string a_msg1, std::string a_msg2)
Definition: MapErrorMsg.cpp:69
Vole_Population_Manager::ReproTable
int ReproTable[4][12]
Definition: VolePopulationManager.h:218
tovmort_FLife
Definition: VolePopulationManager.h:83
Population_Manager
Base class for all population managers for agent based models.
Definition: PopulationManager.h:645
TTypeOfVoleMortality
TTypeOfVoleMortality
Types of vole mortality.
Definition: VolePopulationManager.h:71
Vole_Population_Manager::FindWithinRadiusMale
Vole_Male * FindWithinRadiusMale(int p_x, int p_y) const
Definition: VolePopulationManager.cpp:1885
Landscape::SupplyDayInYear
int SupplyDayInYear(void)
Passes a request on to the associated Calendar class function, the day in the year.
Definition: Landscape.h:2267
IDMap< TAnimal * >
g_sigAgeDiff
int g_sigAgeDiff
Definition: Vole_all.cpp:147
Population_Manager::m_is_paralleled
bool m_is_paralleled
This is used to indicate whether the species is paralleled.
Definition: PopulationManager.h:796
Landscape::SupplyPesticideType
TTypesOfPesticide SupplyPesticideType(void)
Gets type of pesticide effect from a reference.
Definition: Landscape.h:788
APoint::m_x
int m_x
Definition: ALMaSS_Setup.h:55
Vole_Population_Manager::SupplyOlderFemales
bool SupplyOlderFemales(unsigned p_x, unsigned p_y, unsigned p_Age, unsigned p_range) const
Definition: VolePopulationManager.cpp:744
Vole_Population_Manager::IDNumber
unsigned IDNumber
Definition: VolePopulationManager.h:219
Vole_Population_Manager::AddToFrag1Female
void AddToFrag1Female()
Definition: VolePopulationManager.h:213
Vole_MaleList
vector< Vole_Male * > Vole_MaleList
Definition: VolePopulationManager.h:52
Landscape::SupplyYearNumber
int SupplyYearNumber(void)
Passes a request on to the associated Calendar class function, returns m_simulationyear
Definition: Landscape.h:2287
IDMap::ClearMapValue
void ClearMapValue(unsigned x, unsigned y)
Definition: MovementMap.h:146
cfg_geneticproductfertilityeffect
static CfgInt cfg_geneticproductfertilityeffect("VOLE_GENETICPRODUCTFERTILITYEFFECT", CFG_CUSTOM, 50)
TrapLineMap::TrapLineMap
TrapLineMap(unsigned int a_width, unsigned int a_height, unsigned int a_resolution, const char *a_file)
TrapLineMap constructor.
Definition: VolePopulationManager.cpp:3222
CfgInt::value
int value() const
Definition: Configurator.h:116
cfg_CatastropheEventStartYear
CfgInt cfg_CatastropheEventStartYear
Vole_Population_Manager::thisYear
int thisYear
Definition: VolePopulationManager.h:150
AnimalPosition::m_EleType
TTypesOfLandscapeElement m_EleType
Definition: PopulationManager.h:175
Vole_Population_Manager::RecordGeneticsToday
static bool RecordGeneticsToday(int p_today, int p_year, int p_start_year, int p_interval)
Definition: VolePopulationManager.cpp:735
Vole_Population_Manager::AddToYoungYr
void AddToYoungYr(const int young)
Definition: VolePopulationManager.h:249
Vole_Population_Manager::AssessHabitat
double AssessHabitat(int p_Polyref) const
Assess the quality of habitat at p_Polyref.
Definition: VolePopulationManager.cpp:718
struct_Vole_Adult::y
int y
Definition: vole_all.h:118
Vole_Population_Manager::TheAOROutputProbe
void TheAOROutputProbe() override
Definition: VolePopulationManager.cpp:3034
AnimalPosition::m_y
unsigned m_y
Definition: PopulationManager.h:174
cfg_voleLandscapeGridOutputDay
static CfgInt cfg_voleLandscapeGridOutputDay("VOLE_LANDSCAPEGRIDOUTPUTDAY", CFG_CUSTOM, 10000)
GeneticMaterial::Initiation
void Initiation(AlleleFreq *Al)
Definition: GeneticMaterial.cpp:363
Population_Manager_Base::SimW
int SimW
stores the simulation width
Definition: PopulationManager.h:616
Vole_Population_Manager
The class to handle all vole population related matters.
Definition: VolePopulationManager.h:148
TALMaSSObject::GetCurrentStateNo
int GetCurrentStateNo() const
Returns the current state number.
Definition: PopulationManager.h:137
Population_Manager::OpenTheRipleysOutputProbe
bool OpenTheRipleysOutputProbe()
Definition: PopulationManager.cpp:897
Vole_Population_Manager::CreateObjects
void CreateObjects(VoleObject a_obType, TAnimal *a_pvo, struct_Vole_Adult *a_as, int a_number)
Definition: VolePopulationManager.cpp:2756
Vole_Population_Manager::m_total1
int m_total1
Definition: VolePopulationManager.h:156
Vole_Population_Manager::NoYoungKilledToday
int NoYoungKilledToday
Definition: VolePopulationManager.h:274
vole_toletoc_asses_habitat_score
double vole_toletoc_asses_habitat_score(Landscape *m_TheLandscape, int p_Polyref)
Definition: Vole_toletoc.cpp:451
Population_Manager::StateNames
const char * StateNames[100]
Definition: PopulationManager.h:801
VoleSummaryOutput::ResetData
void ResetData()
Definition: VolePopulationManager.cpp:3298
Vole_Population_Manager::AddToFrag2Female
void AddToFrag2Female()
Definition: VolePopulationManager.h:215
cfg_SexRatiosOutputFirstYear
static CfgInt cfg_SexRatiosOutputFirstYear("VOLE_SEXRATIOSOUTPUT_FIRSTYEAR", CFG_CUSTOM, 1)
Vole_Population_Manager::FindRandomMale
Vole_Male * FindRandomMale()
Definition: VolePopulationManager.cpp:2222
Vole_Population_Manager::m_male2
int m_male2
Definition: VolePopulationManager.h:158
cfg_GrassStartGrowth
static CfgFloat cfg_GrassStartGrowth("VOLE_GRASSSTARTGROWTH", CFG_CUSTOM, 3.552)
Vole_JuvenileMale
The class for juvenile male voles.
Definition: vole_all.h:458
g_extradispmort
double g_extradispmort
Definition: Vole_all.cpp:198
Vole_Population_Manager::Init
virtual void Init()
Definition: VolePopulationManager.cpp:230
Vole_Population_Manager::AFreq
AlleleFreq * AFreq
Definition: VolePopulationManager.h:272
g_MaleReproductFinish
int g_MaleReproductFinish
Definition: Vole_all.cpp:177
Population_Manager::OpenTheReallyBigProbe
bool OpenTheReallyBigProbe()
Definition: PopulationManager.cpp:1005
g_msg
MapErrorMsg * g_msg
Definition: MapErrorMsg.cpp:41
Population_Manager::GetLiveArraySize
unsigned GetLiveArraySize(int a_listindex) override
Gets the number of 'live' objects for a list index in the TheArray.
Definition: PopulationManager.h:657
Vole_Population_Manager::YoungsFile
FILE * YoungsFile
Definition: VolePopulationManager.h:275
tovmort_FStarve
Definition: VolePopulationManager.h:73
InTrapPosition
A class for storing the position of the trap the vole is in.
Definition: vole_all.h:106
Vole_Population_Manager::AddToFrag3Female
void AddToFrag3Female()
Definition: VolePopulationManager.h:217
cfg_SexRatiosOutput_filename
static CfgStr cfg_SexRatiosOutput_filename("VOLE_SEXRATIOS_FILENAME", CFG_CUSTOM, "VoleSexRatios.txt")
VoleSummaryOutput::m_File
ofstream * m_File
Definition: VolePopulationManager.h:134
Vole_Population_Manager::m_Traplines
TrapLineMap * m_Traplines
Definition: VolePopulationManager.h:166
CfgInt
Integer configurator entry class.
Definition: Configurator.h:102
Vole_Population_Manager::m_VoleAgeSexLocationFile
ofstream * m_VoleAgeSexLocationFile
Definition: VolePopulationManager.h:189
cfg_ReallyBigOutputMonthly_used
CfgBool cfg_ReallyBigOutputMonthly_used
VoleSummaryOutput::VoleSummaryOutput
VoleSummaryOutput(const char *a_filename, Landscape *a_land, int a_numdataINT, int a_numdataDOUBLE)
Definition: VolePopulationManager.cpp:3274
struct_Vole_Adult::MotherId
int MotherId
Definition: vole_all.h:128
Vole_Male
The class for male voles.
Definition: vole_all.h:499
VoleObject
VoleObject
Definition: vole_all.h:94
TOP_Vole
Definition: PopulationManager.h:60
Vole_Population_Manager::GetHabitatQuality
double GetHabitatQuality(const int a_index) const
Definition: VolePopulationManager.h:230
Vole_Population_Manager::~Vole_Population_Manager
~Vole_Population_Manager() override
Definition: VolePopulationManager.cpp:208
cfg_genetic_output
static CfgBool cfg_genetic_output("VOLE_GENETIC_OUTPUT", CFG_CUSTOM, true)
TTypeOfVoleMessage
TTypeOfVoleMessage
Types of vole message.
Definition: VolePopulationManager.h:63
CfgFloat
Double configurator entry class.
Definition: Configurator.h:126
Population_Manager_Base::m_SimulationName
string m_SimulationName
stores the simulation name
Definition: PopulationManager.h:622
Vole_Population_Manager::SupplyInOlderTerr
int SupplyInOlderTerr(unsigned p_x, unsigned p_y, unsigned p_Age, unsigned p_Range) const
Definition: VolePopulationManager.cpp:2370
Vole_Population_Manager::m_male3
int m_male3
Definition: VolePopulationManager.h:162
TrapLineMap::Output
void Output(const InTrapPosition &a_tp, int a_day, int a_sex, bool a_terr, int a_age, int a_bx, int a_by, int a_ID) const
Definition: VolePopulationManager.cpp:3262
VoleSummaryOutput::m_landscape
Landscape * m_landscape
Definition: VolePopulationManager.h:135
MoveToLessFavourable
double MoveToLessFavourable
Definition: VolePopulationManager.cpp:155
cfg_MoveToLessFavourable
static CfgFloat cfg_MoveToLessFavourable("VOLEMOVETOLESSFAVOURALBLE", CFG_CUSTOM, 0.005)
Vole_Population_Manager::m_VoleRecordMort
VoleSummaryOutput * m_VoleRecordMort
Definition: VolePopulationManager.h:193
cfg_MateRadius
static CfgInt cfg_MateRadius("FEMALE_MATE_RADIUS", CFG_CUSTOM, 250)
VoleSummaryOutput
A base class for summary outputs.
Definition: VolePopulationManager.h:120
tovmort_MBck
Definition: VolePopulationManager.h:74
VoleSummaryOutput::m_ndDouble
int m_ndDouble
Definition: VolePopulationManager.h:137
cfg_vole_reprofinishdate
static CfgInt cfg_vole_reprofinishdate("VOLE_REPROFINISHDATE", CFG_CUSTOM, 243)
Vole_Population_Manager::BarrierSearch
bool BarrierSearch(int F_x, int F_y, int M_x, int M_y) const
Definition: VolePopulationManager.cpp:975
CFG_CUSTOM
Definition: Configurator.h:70
g_random_fnc
int g_random_fnc(const int a_range)
Definition: ALMaSS_Random.cpp:74
cfg_VoleTrapResolution
static CfgInt cfg_VoleTrapResolution("VOLE_TRAPRESOLUTION", CFG_CUSTOM, 2)
MinReproAgeF
int MinReproAgeF
Definition: Vole_all.cpp:141
Vole_Base::SupplySex
bool SupplySex()
Definition: vole_all.h:341
tovs_Lactating
Definition: vole_all.h:65
Population_Manager::Shuffle
virtual void Shuffle(unsigned Type)
Definition: PopulationManager.cpp:1229
VoleSummaryOutput::m_dataD
double m_dataD[100]
Definition: VolePopulationManager.h:139
cfg_GeneticsResultOutputDay_2
static CfgInt cfg_GeneticsResultOutputDay_2("GENETICS_RESULT_OUTPUT_DAY_TWO", CFG_CUSTOM, 6)
struct_Vole_Adult::x
int x
Definition: vole_all.h:117
cfg_ResistanceDominant
CfgBool cfg_ResistanceDominant
Vole_Population_Manager::Vole_Population_Manager
Vole_Population_Manager(Landscape *p_L)
Definition: VolePopulationManager.cpp:193
Landscape::SupplyYear
int SupplyYear(void)
Passes a request on to the associated Calendar class function, returns m_year.
Definition: Landscape.h:2282
Vole_Population_Manager::GetVoleAllele
uint32 GetVoleAllele(const int a_list, const int a_vole, const int a_locus, const int a_chromosome)
used to get a specific vole allele from outside the population manager
Definition: VolePopulationManager.h:196
Population_Manager::PushIndividual
void PushIndividual(const unsigned a_listindex, TAnimal *a_individual_ptr)
Definition: PopulationManager.cpp:1682
Vole_Population_Manager::DoFirst
void DoFirst() override
Definition: VolePopulationManager.cpp:487
Vole_Population_Manager::CreateObjectsInit
void CreateObjectsInit(VoleObject a_obType, TAnimal *a_pvo, struct_Vole_Adult *a_voleStruct, int a_number)
Definition: VolePopulationManager.cpp:2856
Vole_Population_Manager::SupplyGrowthStartDate
int SupplyGrowthStartDate() const
Definition: VolePopulationManager.h:233
tovs_MMaturation
Definition: vole_all.h:58
Population_Manager::ReallyBigOutputPrb
ofstream * ReallyBigOutputPrb
Definition: PopulationManager.h:873
tovmort_MStarve
Definition: VolePopulationManager.h:72
Vole_Population_Manager::AddToFrag3Male
void AddToFrag3Male()
Definition: VolePopulationManager.h:216
Vole_Population_Manager::ListClosestFemales
int ListClosestFemales(int p_x, int p_y, int p_steps)
Definition: VolePopulationManager.cpp:1454
cfg_vole_starting_numberM
static CfgInt cfg_vole_starting_numberM("VOLE_START_NO_M", CFG_CUSTOM, 5000)
Vole_Population_Manager::FindClosestMale
Vole_Male * FindClosestMale(int p_x, int p_y, int p_steps) const
Definition: VolePopulationManager.cpp:2026
tovmort_FPred
Definition: VolePopulationManager.h:81
Vole_Population_Manager::AddToYoung
void AddToYoung(const int young)
Definition: VolePopulationManager.h:245
VoleSummaryOutput::OPrintEndl
virtual void OPrintEndl()
Definition: VolePopulationManager.cpp:3292
Landscape::Warn
void Warn(std::string a_msg1, std::string a_msg2)
Wrapper for the g_msg Warn function.
Definition: Landscape.h:2250
Vole_Population_Manager::m_male1
int m_male1
Definition: VolePopulationManager.h:154
cfg_CfgRipleysOutputUsed
CfgBool cfg_CfgRipleysOutputUsed
AlleleFreq1616
Definition: GeneticMaterial.h:125
Vole_Population_Manager::m_female1
int m_female1
Definition: VolePopulationManager.h:155
VoleSummaryOutput::~VoleSummaryOutput
virtual ~VoleSummaryOutput()
Definition: VolePopulationManager.cpp:3282
Vole_Population_Manager::ResistanceOutput
void ResistanceOutput()
Resistance results file output
Definition: VolePopulationManager.cpp:3481
Landscape::SupplyPolyRef
int SupplyPolyRef(int a_x, int a_y)
Get the in map polygon reference number from the x, y location.
Definition: Landscape.h:2157
Vole_Population_Manager::JuvsProducedToday
int JuvsProducedToday
Definition: VolePopulationManager.h:273
tovmort_FFarm
Definition: VolePopulationManager.h:77
BinaryMapBase::SetValue
void SetValue(unsigned a_x, unsigned a_y, unsigned a_value)
Definition: BinaryMapBase.cpp:98
vole_tole_assess_barrier
bool vole_tole_assess_barrier(Landscape *m_TheLandscape, int p_Polyref)
Definition: Vole_toletoc.cpp:813
APoint::m_y
int m_y
Definition: ALMaSS_Setup.h:56
Vole_Population_Manager::YearsTotal
int YearsTotal
Definition: VolePopulationManager.h:150
Landscape::SupplyGlobalDate
long SupplyGlobalDate(void)
Passes a request on to the associated Calendar class function, returns the simulation global date for...
Definition: Landscape.h:2292
tovs_MEvaluateExplore
Definition: vole_all.h:59
cfg_VoleTraplinesfile
static CfgStr cfg_VoleTraplinesfile("VOLE_TRAPLINESFILE", CFG_CUSTOM, "VoleTraplines.txt")
cfg_sigAgeDiff
static CfgInt cfg_sigAgeDiff("VOLE_SIGAGEDIFF", CFG_CUSTOM, 30)
cfg_SexRatiosOutput_used
CfgBool cfg_SexRatiosOutput_used("VOLE_SEXRATIOSOUTPUT_USED", CFG_CUSTOM, false)
Vole_Population_Manager::m_VoleMap
IDMap< TAnimal * > * m_VoleMap
Definition: VolePopulationManager.h:276
TrapLineMap::m_ofile
FILE * m_ofile
Definition: VolePopulationManager.h:113
AnimalPosition::m_VegType
TTypesOfVegetation m_VegType
Definition: PopulationManager.h:176
Population_Manager::IncLiveArraySize
void IncLiveArraySize(int a_listindex)
Increments the number of 'live' objects for a list index in the TheArray.
Definition: PopulationManager.h:665
cfg_PmEventsize
CfgInt cfg_PmEventsize
g_DailyMortChanceMaleTerr
double g_DailyMortChanceMaleTerr
Definition: Vole_all.cpp:184