ALMaSS  1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
Population_Manager_Base Class Reference

Base class for all population managers. More...

#include <PopulationManager.h>

Inheritance diagram for Population_Manager_Base:
Population_Manager SubPopulation_Population_Manager Beetle_Population_Manager None_Population_Manager Osmia_Population_Manager OsmiaParasitoid_Population_Manager Skylark_Population_Manager Spider_Population_Manager THare_Population_Manager TPredator_Population_Manager Vole_Population_Manager Aphid_Population_Manager

Public Member Functions

 Population_Manager_Base (Landscape *L)
 The Population_Manager_Base constructor. More...
 
virtual unsigned GetLiveArraySize (int a_listindex)
 Must be re-implemented in descendent classes. Gets the number of 'live' objects. More...
 
virtual unsigned GetPopulationSize (int a_listindex)
 Must be re-implemented in descendent classes. More...
 
virtual void Catastrophe (int)
 Must be re-implemented in descendent classes. More...
 
int SupplySimW () const
 Returns landscape width in m. More...
 
int SupplySimH () const
 Returns landscape height in m. More...
 
int SupplySimWH () const
 Returns half the landscape width in m. More...
 
int SupplySimHH () const
 Returns half the landscape height in m. More...
 
virtual void Run (int a_NoTSteps)
 A place holder for the run function for all population managers, this must be reimplemented in descendent classes. More...
 
virtual void SetNoProbesAndSpeciesSpecificFunctions (int)
 A stub to build specfic probes and functions. More...
 
virtual int ProbeFileInput (char *p_Filename, int p_ProbeNo)
 A stub to build specfic probes and functions. More...
 
virtual char * SpeciesSpecificReporting (int, int)
 A stub to build specfic reporting. More...
 
int SupplyListNameLength () const
 
const char * SupplyListName (int a_i) const
 Get a list name from the list. More...
 
virtual void SupplyLocXY (unsigned, unsigned, int &, int &)
 A stub for identifying an individual at a location. More...
 
virtual TAnimalFindClosest (int, int, unsigned)
 A stub for identifying an individual at a location. More...
 
std::string SupplySimulationName ()
 
virtual void OpenTheAOROutputProbe (const string &a_string)
 An empty method that needs to be here because the population manager lists might contain sub-population models which will skip Population_Manager functionality. More...
 
void SetStepCounterInADay (int a_counter)
 Set step counter in a day. More...
 
int GetStepCounterInADay (void)
 Return the sep counter in a day. More...
 
virtual double GetAphidDensity (int, int)
 Return the aphid density, it is only used when aphid simulations are running. More...
 
virtual TAnimalSupplyAnimalPtr (unsigned int a_index, unsigned int a_animal)
 Return the animal pointer for the give life stage and number. More...
 

Public Attributes

Probe_DataTheProbe [100] = {nullptr}
 Holds a list of pointers to standard output probes. More...
 

Protected Member Functions

 ~Population_Manager_Base ()=default
 

Protected Attributes

int SimH
 stores the simulation height More...
 
int SimW
 stores the simulation width More...
 
int SimHH
 stores the simulation height halved More...
 
int SimWH
 stores the simulation width halved More...
 
string m_SimulationName
 stores the simulation name More...
 
Landscapem_TheLandscape
 holds an internal pointer to the landscape More...
 
int m_ListNameLength {}
 the number of life-stages simulated in the population manager More...
 
const char * m_ListNames [32] {}
 A list of life-stage names. More...
 
std::string m_AORProbeFileName {"AOR_Probe.txt"}
 name of the AOR Probe file More...
 
std::string m_ProbeFileName {"Probe.res"}
 name of the Probe file More...
 
int m_step_counter_in_a_day
 Step counter in a day, this is used for the animals with finer step size other than one day. More...
 

Detailed Description

Base class for all population managers.

The core of the handling of animal populations. All time-step code and most input/output is handled by this class and its descendents. This class effectively implements a state machine to facilitate simulation of animal behaviours and handle potential issues with concurrency. The PopulationManager class is never instantiated but must be used by deriving a descendent class.

Constructor & Destructor Documentation

◆ Population_Manager_Base()

Population_Manager_Base::Population_Manager_Base ( Landscape L)

◆ ~Population_Manager_Base()

Population_Manager_Base::~Population_Manager_Base ( )
protecteddefault

Member Function Documentation

◆ Catastrophe()

virtual void Population_Manager_Base::Catastrophe ( int  )
inlinevirtual

Must be re-implemented in descendent classes.

564  {
565  }

◆ FindClosest()

virtual TAnimal* Population_Manager_Base::FindClosest ( int  ,
int  ,
unsigned   
)
inlinevirtual

A stub for identifying an individual at a location.

596 { return nullptr; }

◆ GetAphidDensity()

virtual double Population_Manager_Base::GetAphidDensity ( int  ,
int   
)
inlinevirtual

Return the aphid density, it is only used when aphid simulations are running.

Reimplemented in Ladybird_Population_Manager.

607 { return 0; }

◆ GetLiveArraySize()

virtual unsigned Population_Manager_Base::GetLiveArraySize ( int  a_listindex)
inlinevirtual

Must be re-implemented in descendent classes. Gets the number of 'live' objects.

Reimplemented in Population_Manager, and SubPopulation_Population_Manager.

560 { return 0; }

◆ GetPopulationSize()

virtual unsigned Population_Manager_Base::GetPopulationSize ( int  a_listindex)
inlinevirtual

Must be re-implemented in descendent classes.

Reimplemented in Beetle_Population_Manager, Population_Manager, and SubPopulation_Population_Manager.

562 { return 0; }

◆ GetStepCounterInADay()

int Population_Manager_Base::GetStepCounterInADay ( void  )
inline

Return the sep counter in a day.

605 {return m_step_counter_in_a_day;}

References m_step_counter_in_a_day.

Referenced by Osmia_Female::BeginStep(), and Osmia_Female::OnFarmEvent().

◆ OpenTheAOROutputProbe()

virtual void Population_Manager_Base::OpenTheAOROutputProbe ( const string &  a_string)
inlinevirtual

An empty method that needs to be here because the population manager lists might contain sub-population models which will skip Population_Manager functionality.

Reimplemented in Beetle_Population_Manager, and Population_Manager.

599  {
600  }

◆ ProbeFileInput()

int Population_Manager_Base::ProbeFileInput ( char *  p_Filename,
int  p_ProbeNo 
)
virtual

A stub to build specfic probes and functions.

Default probe file input

672  {
673 
674  int data = 0;
675  int data2 = 0;
676  char S[255];
677  FILE* PFile = fopen(p_Filename, "r");
678  if (!PFile)
679  {
680  m_TheLandscape->Warn("Population Manager - cannot open Probe File ", p_Filename);
681  exit(0);
682  }
683  fgets(S, 255, PFile); // dummy line
684  fgets(S, 255, PFile); // dummy line
685  fscanf(PFile, "%d\n", &data); // Reporting interval
686  TheProbe[p_ProbeNo]->m_ReportInterval = data;
687  fgets(S, 255, PFile); // dummy line
688  fscanf(PFile, "%d\n", &data); // Write to file
689  if (data == 0) TheProbe[p_ProbeNo]->m_FileRecord = false;
690  else TheProbe[p_ProbeNo]->m_FileRecord = true;
691  fgets(S, 255, PFile); // dummy line
692  for (int i = 0; i < cfg_ProbeTargetTypesNo.value(); i++)
693  {
694  fscanf(PFile, "%d", &data);
695  if (data > 0) TheProbe[p_ProbeNo]->m_TargetTypes[i] = true;
696  else TheProbe[p_ProbeNo]->m_TargetTypes[i] = false;
697  }
698 
699  fgets(S, 255, PFile); // dummy line
700  fgets(S, 255, PFile); // dummy line
701  fscanf(PFile, "%d", &data);
702  TheProbe[p_ProbeNo]->m_NoAreas = data;
703  fgets(S, 255, PFile); // dummy line
704  fgets(S, 255, PFile); // dummy line
705  fscanf(PFile, "%d", &data2); // No References areas
706  fgets(S, 255, PFile); // dummy line
707  fgets(S, 255, PFile); // dummy line
708  fscanf(PFile, "%d", &data); // Type reference for probe
709  if (data == 1) TheProbe[p_ProbeNo]->m_NoEleTypes = data2;
710  else TheProbe[p_ProbeNo]->m_NoEleTypes = 0;
711  if (data == 2) TheProbe[p_ProbeNo]->m_NoVegTypes = data2;
712  else TheProbe[p_ProbeNo]->m_NoVegTypes = 0;
713  if (data == 3) TheProbe[p_ProbeNo]->m_NoFarms = data2;
714  else TheProbe[p_ProbeNo]->m_NoFarms = 0;
715  fgets(S, 255, PFile); // dummy line
716  fgets(S, 255, PFile); // dummy line
717  // Now read in the areas data
718  TheProbe[p_ProbeNo]->m_FullLandscapeProbe = false; // Default to full landscape
719 
720  for (int i = 0; i < cfg_ProbeMaxAreas.value(); i++)
721  {
722  // any -1 value in coords will result in using the full landscape
723  fscanf(PFile, "%d", &data);
724  if (data == -1) TheProbe[p_ProbeNo]->m_FullLandscapeProbe = true;
725  TheProbe[p_ProbeNo]->m_Rect[i].m_x1 = data;
726  fscanf(PFile, "%d", &data);
727  if (data == -1) TheProbe[p_ProbeNo]->m_FullLandscapeProbe = true;
728  TheProbe[p_ProbeNo]->m_Rect[i].m_y1 = data;
729  fscanf(PFile, "%d", &data);
730  if (data == -1) TheProbe[p_ProbeNo]->m_FullLandscapeProbe = true;
731  TheProbe[p_ProbeNo]->m_Rect[i].m_x2 = data;
732  fscanf(PFile, "%d", &data);
733  if (data == -1) TheProbe[p_ProbeNo]->m_FullLandscapeProbe = true;
734  TheProbe[p_ProbeNo]->m_Rect[i].m_y2 = data;
735  }
736  fgets(S, 255, PFile); // dummy line
737  fgets(S, 255, PFile); // dummy line
738  if (TheProbe[p_ProbeNo]->m_NoVegTypes > 0)
739  {
740  for (int i = 0; i < 25; i++)
741  {
742  fscanf(PFile, "%d", &data);
743  if (data != 999) TheProbe[p_ProbeNo]->m_RefVeg[i] = m_TheLandscape->TranslateVegTypes(data);
744  }
745  }
746  else if (TheProbe[p_ProbeNo]->m_NoFarms > 0)
747  {
748  for (int i = 0; i < 25; i++)
749  {
750  fscanf(PFile, "%d", &data);
751  if (data != 999) TheProbe[p_ProbeNo]->m_RefFarms[i] = data;
752  }
753  }
754  else
755  {
756  for (int i = 0; i < 25; i++)
757  {
758  fscanf(PFile, "%d", &data);
759  if (data != 999) TheProbe[p_ProbeNo]->m_RefEle[i] = m_TheLandscape->TranslateEleTypes(data);
760  }
761  }
762  fclose(PFile);
763  return data2; // number of data references
764 }

References cfg_ProbeMaxAreas, cfg_ProbeTargetTypesNo, Probe_Data::m_FileRecord, Probe_Data::m_FullLandscapeProbe, Probe_Data::m_NoAreas, Probe_Data::m_NoEleTypes, Probe_Data::m_NoFarms, Probe_Data::m_NoVegTypes, Probe_Data::m_Rect, Probe_Data::m_RefEle, Probe_Data::m_RefFarms, Probe_Data::m_RefVeg, Probe_Data::m_ReportInterval, Probe_Data::m_TargetTypes, m_TheLandscape, rectangle::m_x1, rectangle::m_x2, rectangle::m_y1, rectangle::m_y2, TheProbe, Landscape::TranslateEleTypes(), Landscape::TranslateVegTypes(), CfgInt::value(), and Landscape::Warn().

◆ Run()

virtual void Population_Manager_Base::Run ( int  a_NoTSteps)
inlinevirtual

A place holder for the run function for all population managers, this must be reimplemented in descendent classes.

Reimplemented in TPredator_Population_Manager, Population_Manager, and SubPopulation_Population_Manager.

575  {
576  for (int i = 0; i < a_NoTSteps; i++)
577  {
578  }
579  }

Referenced by RunTheSim().

◆ SetNoProbesAndSpeciesSpecificFunctions()

virtual void Population_Manager_Base::SetNoProbesAndSpeciesSpecificFunctions ( int  )
inlinevirtual

A stub to build specfic probes and functions.

Reimplemented in Population_Manager, and SubPopulation_Population_Manager.

581  {
582  }

◆ SetStepCounterInADay()

void Population_Manager_Base::SetStepCounterInADay ( int  a_counter)
inline

Set step counter in a day.

603 {m_step_counter_in_a_day = a_counter;}

References m_step_counter_in_a_day.

Referenced by RunTheSim().

◆ SpeciesSpecificReporting()

virtual char* Population_Manager_Base::SpeciesSpecificReporting ( int  ,
int   
)
inlinevirtual

A stub to build specfic reporting.

Reimplemented in Population_Manager.

586 { return nullptr; }

◆ SupplyAnimalPtr()

virtual TAnimal* Population_Manager_Base::SupplyAnimalPtr ( unsigned int  a_index,
unsigned int  a_animal 
)
inlinevirtual

Return the animal pointer for the give life stage and number.

Reimplemented in Population_Manager.

609 { return nullptr; }

◆ SupplyListName()

const char* Population_Manager_Base::SupplyListName ( int  a_i) const
inline

Get a list name from the list.

591 { return m_ListNames[a_i]; }

References m_ListNames.

◆ SupplyListNameLength()

int Population_Manager_Base::SupplyListNameLength ( ) const
inline
589 { return m_ListNameLength; }

References m_ListNameLength.

◆ SupplyLocXY()

◆ SupplySimH()

◆ SupplySimHH()

int Population_Manager_Base::SupplySimHH ( ) const
inline

Returns half the landscape height in m.

573 { return SimHH; }

References SimHH.

Referenced by THare::GetPegDirection(), and THare::MovePeg().

◆ SupplySimulationName()

std::string Population_Manager_Base::SupplySimulationName ( )
inline
597 { return m_SimulationName; }

References m_SimulationName.

◆ SupplySimW()

◆ SupplySimWH()

int Population_Manager_Base::SupplySimWH ( ) const
inline

Returns half the landscape width in m.

571 { return SimWH; }

References SimWH.

Referenced by THare::GetPegDirection(), THare::GetPegDistance(), and THare::MovePeg().

Member Data Documentation

◆ m_AORProbeFileName

std::string Population_Manager_Base::m_AORProbeFileName {"AOR_Probe.txt"}
protected

◆ m_ListNameLength

◆ m_ListNames

◆ m_ProbeFileName

std::string Population_Manager_Base::m_ProbeFileName {"Probe.res"}
protected

name of the Probe file

◆ m_SimulationName

◆ m_step_counter_in_a_day

int Population_Manager_Base::m_step_counter_in_a_day
protected

Step counter in a day, this is used for the animals with finer step size other than one day.

Referenced by GetStepCounterInADay(), and SetStepCounterInADay().

◆ m_TheLandscape

Landscape* Population_Manager_Base::m_TheLandscape
protected

holds an internal pointer to the landscape

Referenced by Vole_Population_Manager::AssessHabitat(), Vole_Population_Manager::BarrierSearch(), Beetle_Population_Manager::Beetle_Population_Manager(), Population_Manager::BeginningOfMonth(), Bembidion_Population_Manager::Bembidion_Population_Manager(), Aphid_Population_Manager::calOffspringStageBBandPP(), Erigone_Population_Manager::Catastrophe(), Oedothorax_Population_Manager::Catastrophe(), Vole_Population_Manager::Catastrophe(), Skylark_Population_Manager::Catastrophe(), THare_Population_Manager::Catastrophe(), Beetle_Population_Manager::Catastrophe(), Beetle_Population_Manager::Catastrophe2(), Osmia_Population_Manager::CreateNest(), Vole_Population_Manager::CreateObjectsInit(), PoecilusCupreus_Population_Manager::DayDegreeCalculations(), Ladybird_Population_Manager::DayDegreeCalculations(), Beetle_Population_Manager::DayDegreeCalculations(), Beetle_Population_Manager::DoBeetleActiveProbe(), Osmia_Population_Manager::DoBefore(), SubPopulation_Population_Manager::doDevelopment(), Erigone_Population_Manager::DoFirst(), Oedothorax_Population_Manager::DoFirst(), Vole_Population_Manager::DoFirst(), Bembidion_Population_Manager::DoFirst(), Skylark_Population_Manager::DoFirst(), Osmia_Population_Manager::DoFirst(), THare_Population_Manager::DoFirst(), Beetle_Population_Manager::DoFirst(), Osmia_Population_Manager::DoLast(), THare_Population_Manager::DoLast(), THare_Population_Manager::ExtraPopMort(), Skylark_Population_Manager::FledgelingProbeOutput(), Vole_Population_Manager::GeneticsOutputFile(), Vole_Population_Manager::GeneticsResultsOutput(), Ladybird_Population_Manager::GetFlyingWeather(), THare_Population_Manager::GetGrowthEfficiency(), THare_Population_Manager::GetGrowthEfficiencyF(), THare_Population_Manager::GetGrowthEfficiencyP(), THare_Population_Manager::GetKJperM(), THare_Population_Manager::GetLitterSize(), THare_Population_Manager::GetMaxDailyGrowthEnergy(), THare_Population_Manager::GetMaxDailyGrowthEnergyF(), THare_Population_Manager::GetMaxDailyGrowthEnergyP(), THare_Population_Manager::GetRMR(), Vole_Population_Manager::ImpactedProbe(), Erigone_Population_Manager::Init(), Oedothorax_Population_Manager::Init(), Vole_Population_Manager::Init(), Osmia_Population_Manager::Init(), Skylark_Population_Manager::Init(), THare_Population_Manager::Init(), SubPopulation_Population_Manager::initialisePopulation(), Aphid_Population_Manager::initialiseSimWithEggs(), Beetle_Population_Manager::IsStartHabitat(), Vole_Population_Manager::IsTrap(), Ladybird_Population_Manager::Ladybird_Population_Manager(), Vole_Population_Manager::LandscapeQuadrantOutputProbe(), Population_Manager::LOG(), THare_Population_Manager::MRROutputs(), Bembidion_Population_Manager::OnFarmEvent(), Ladybird_Population_Manager::OnFarmEvent(), Vole_Population_Manager::OpenResistanceOutput(), Population_Manager::OpenTheAOROutputProbe(), Beetle_Population_Manager::OpenTheAOROutputProbe(), Skylark_Population_Manager::OpenTheFledgelingProbe(), Osmia_Population_Manager::Osmia_Population_Manager(), PoecilusCupreus_Population_Manager::PoecilusCupreus_Population_Manager(), THare_Population_Manager::POMOutputs(), TPredator_Population_Manager::PredAutumnSample(), TPredator_Population_Manager::PredSampleFile(), TPredator_Population_Manager::PredSpringAutumnSample(), TPredator_Population_Manager::PredSpringSample(), Beetle_Population_Manager::Probe(), ProbeFileInput(), Osmia_Population_Manager::ReleaseOsmiaNest(), Vole_Population_Manager::ResistanceOutput(), TPredator_Population_Manager::Run(), SubPopulation_Population_Manager::Run(), Population_Manager::Run(), Vole_Population_Manager::SendMessage(), SubPopulation_Population_Manager::SetNoProbesAndSpeciesSpecificFunctions(), Population_Manager::SetNoProbesAndSpeciesSpecificFunctions(), Population_Manager::Shuffle_or_Sort(), Population_Manager::SpeciesSpecificReporting(), Spider_Population_Manager::Spider_Population_Manager(), SubPopulation_Population_Manager::SubPopulation_Population_Manager(), Vole_Population_Manager::SuitableStartingLocation(), Vole_Population_Manager::TheAgeSexLocationProbe(), Vole_Population_Manager::TheReallyBigOutputProbe(), Beetle_Population_Manager::TheReallyBigOutputProbe(), Erigone_Population_Manager::TheRipleysOutputProbe(), Oedothorax_Population_Manager::TheRipleysOutputProbe(), Vole_Population_Manager::TheRipleysOutputProbe(), Skylark_Population_Manager::TheRipleysOutputProbe(), THare_Population_Manager::TheRipleysOutputProbe(), Beetle_Population_Manager::TheRipleysOutputProbe(), Vole_Population_Manager::TheSexRatiosProbe(), TPredator_Population_Manager::TPredator_Population_Manager(), and Aphid_Population_Manager::updateDevelopmentSeason().

◆ SimH

◆ SimHH

int Population_Manager_Base::SimHH
protected

stores the simulation height halved

Referenced by Vole_Population_Manager::SendMessage(), and SupplySimHH().

◆ SimW

◆ SimWH

int Population_Manager_Base::SimWH
protected

stores the simulation width halved

Referenced by Vole_Population_Manager::SendMessage(), and SupplySimWH().

◆ TheProbe


The documentation for this class was generated from the following files:
TAnimal::SetSimulationWidth
static void SetSimulationWidth(int a_value)
Sets the simulation width.
Definition: PopulationManager.h:321
Landscape::TranslateVegTypes
TTypesOfVegetation TranslateVegTypes(int VegReference)
Returns vegetation type translated from the ALMaSS reference number.
Definition: Landscape.h:2326
Probe_Data::m_TargetTypes
bool m_TargetTypes[16]
Definition: PopulationManager.h:441
cfg_ProbeTargetTypesNo
CfgInt cfg_ProbeTargetTypesNo("PROBE_TARGET_TYPES_NO", CFG_CUSTOM, 10, 1, 16)
Probe_Data::m_FullLandscapeProbe
bool m_FullLandscapeProbe
Definition: PopulationManager.h:429
PesticideStore::setLandscapePointer
static void setLandscapePointer(Landscape *a_landscape)
The function to set the static landscape pointer.
Definition: PesticideToxicity.h:60
Population_Manager_Base::m_ListNames
const char * m_ListNames[32]
A list of life-stage names.
Definition: PopulationManager.h:628
Population_Manager_Base::SimHH
int SimHH
stores the simulation height halved
Definition: PopulationManager.h:618
rectangle::m_y1
unsigned m_y1
Definition: PopulationManager.h:117
Population_Manager_Base::m_ListNameLength
int m_ListNameLength
the number of life-stages simulated in the population manager
Definition: PopulationManager.h:626
rectangle::m_x2
unsigned m_x2
Definition: PopulationManager.h:118
Population_Manager_Base::m_TheLandscape
Landscape * m_TheLandscape
holds an internal pointer to the landscape
Definition: PopulationManager.h:624
Population_Manager_Base::SimWH
int SimWH
stores the simulation width halved
Definition: PopulationManager.h:620
Population_Manager_Base::m_step_counter_in_a_day
int m_step_counter_in_a_day
Step counter in a day, this is used for the animals with finer step size other than one day.
Definition: PopulationManager.h:634
Probe_Data::m_RefVeg
TTypesOfVegetation m_RefVeg[25]
Definition: PopulationManager.h:437
Population_Manager_Base::SimH
int SimH
stores the simulation height
Definition: PopulationManager.h:614
Landscape::SupplySimAreaHeight
int SupplySimAreaHeight(void)
Gets the simulation landscape height.
Definition: Landscape.h:2302
Landscape::SupplySimAreaWidth
int SupplySimAreaWidth(void)
Gets the simulation landscape width.
Definition: Landscape.h:2297
Landscape::TranslateEleTypes
TTypesOfLandscapeElement TranslateEleTypes(int EleReference)
Returns element type translated from the ALMaSS reference number.
Definition: Landscape.h:2313
Probe_Data::m_NoEleTypes
unsigned m_NoEleTypes
Definition: PopulationManager.h:434
TAnimal::SetSimulationHeight
static void SetSimulationHeight(int a_value)
Sets the simulation height.
Definition: PopulationManager.h:325
Probe_Data::m_Rect
rectangle m_Rect[16]
Definition: PopulationManager.h:433
rectangle::m_y2
unsigned m_y2
Definition: PopulationManager.h:119
Probe_Data::m_ReportInterval
unsigned m_ReportInterval
Definition: PopulationManager.h:431
CfgInt::value
int value() const
Definition: Configurator.h:116
Probe_Data::m_NoVegTypes
unsigned m_NoVegTypes
Definition: PopulationManager.h:435
Population_Manager_Base::TheProbe
Probe_Data * TheProbe[100]
Holds a list of pointers to standard output probes.
Definition: PopulationManager.h:588
Population_Manager_Base::SimW
int SimW
stores the simulation width
Definition: PopulationManager.h:616
Probe_Data::m_NoAreas
unsigned m_NoAreas
Definition: PopulationManager.h:432
Probe_Data::m_FileRecord
bool m_FileRecord
Definition: PopulationManager.h:428
Probe_Data::m_RefFarms
unsigned m_RefFarms[25]
Definition: PopulationManager.h:439
rectangle::m_x1
unsigned m_x1
Definition: PopulationManager.h:116
Population_Manager_Base::m_SimulationName
string m_SimulationName
stores the simulation name
Definition: PopulationManager.h:622
Probe_Data::m_NoFarms
unsigned m_NoFarms
Definition: PopulationManager.h:436
Probe_Data::m_RefEle
TTypesOfLandscapeElement m_RefEle[25]
Definition: PopulationManager.h:438
Landscape::Warn
void Warn(std::string a_msg1, std::string a_msg2)
Wrapper for the g_msg Warn function.
Definition: Landscape.h:2250
cfg_ProbeMaxAreas
CfgInt cfg_ProbeMaxAreas("PROBE_MAX_AREAS", CFG_CUSTOM, 10, 1, 16)
TAnimal::SetOurLandscape
static void SetOurLandscape(Landscape *a_value)
Sets the landscape pointer.
Definition: PopulationManager.h:333