ALMaSS Rabbit ODdox
1.1
The rabbit model description following ODdox protocol
|
Go to the documentation of this file.
44 #ifndef Rabbit_Population_ManagerH
45 #define Rabbit_Population_ManagerH
void LoadWarrenLocations(void)
Load warren locations.
void PesticideDeathRecordOutputClose()
Closes the pesticide death output file.
void PesticideDeathRecord(RabbitObjectTypes ob_type)
Records pesticide poisoning incidents.
vector< TListOfAnimals > TheArray
virtual void DoLast()
Things to do after the EndStep.
Rabbit_Warren * FindClosestWarren(int a_x, int a_y, int a_rank)
Finds the closest warren as the crow flies.
virtual ~Rabbit_Population_Manager(void)
Rabbit_Population_Manager Destructor.
bool m_forageday
Flag to record whether today is a possible forage day.
The rabbit female class. All special female behaviour is described here.
unsigned SupplyAllBigRabbits()
Returns the total number of rabbits.
void ReproOutputRecordOutputOpen()
Opens the reproductive output file.
bool IsBreedingSeason(void)
Get whether it is breeding season.
void PreProcessWarrenLocations()
This pre-scans the landscape and determines all potential warren locations on start-up.
void WarrenOccupancyRecordOutput()
Print warren occupancy record to file.
void CheckForRabbitBreedingConditions(void)
Determines whether it is breeding season.
The class to handle all predator population related matters.
ofstream m_NatalDispersalFile
For recording the natal dispersal of adults from birth to death.
int m_warrenfixedsizediv2
Half max warren size in m - for speed
void CreateLocalWarrenNetworkLists(void)
Forms the local warren network list for this warren.
Used for creation of a new Rabbit object.
void NatalDispersalRecordOutput(Rabbit_Base *a_rabbit)
Records the natal dispersal.
bool m_rabbitBreedingSeason
The breeding season flag.
void WarrenOccupancyRecordOutputOpen()
Opens the warren occupancy output file.
ofstream m_ReproOutputFile
For recording the lifetime reproductive success.
The landscape class containing all environmental and topographical data.
TTypesOfRabbitHabitat ClassifyHabitat(TTypesOfLandscapeElement a_tole)
Classify a landscape element type according to the rabbit habitat classification.
Rabbit_Population_Manager * m_NPM
Rabbit_Population_Manager pointer.
Rabbit_Young * m_rabbit
A pointer to a rabbit base - useful for extra information.
void NatalDispersalRecordOutputClose()
Closes the reproductive output file.
double m_RabbitGrowth[3650]
Holds daily growth potential of rabbits for each day
TTypesOfRabbitHabitat
A classification of rabbit habitat types. All landscape elements will be classified into one of the c...
void CreateObjects(RabbitObjectTypes ob_type, TAnimal *pvo, struct_Rabbit *a_data, int a_number)
Method for creating a new individual Rabbit.
void WarrenOutputAnalysis()
Does analysis on the warren output file and saves the results to RabbitPOMSummary....
void SaveWarrenLocations(void)
Save warren locations.
Landscape * m_L
Landscape pointer.
double GetGrowth(int a_age)
Get method for the rabbit growth with age.
bool WarrenLegalPos(int &a_x, int a_y)
Tests the warrens list to see if this position is legal.
The base class for all ALMaSS animal classes.
virtual void DoBefore()
Things to do before the Step.
Rabbit_Warren * m_Warren
A pointer to the current warren.
int m_warrenfixedsize
Holds an input variable for max warren size in m
virtual void DoAfter()
Things to do before the EndStep.
Base class for all population managers.
virtual void DoFirst()
Things to do before anything else at the start of a timestep
Rabbit_Population_Manager(Landscape *L)
Rabbit_Population_Manager Constructor.
int m_weightage
The rabbit age in terms of weight.
void NatalDispersalRecordOutputOpen()
Opens the reproductive output file.
void PesticideDeathRecordOutput()
Print pesticide death record to file.
double AssessPctForage(int a_x, int a_y)
Assesses the percentage of forage for a location assuming max warren size.
void LifetimeReproAnalysis()
Does analysis on the lifetime reproductive output file and saves the results to RabbitPOMSummary....
int m_soil
The current warren soil type.
void ReproOutputRecordOutput(Rabbit_Female *a_female)
Print reproductive record to file.
ofstream m_PesticideDeathOFile
The pesticide death output file.
int m_PesticideDeaths[rob_foobar]
Holds the number of rabbits killed each day by pesticides.
void WarrenOccupancyRecordOutputClose()
Closes the warren occupancy output file.
A class to describe the rabbits warren system.
void PesticideDeathRecordOutputOpen()
Opens pesticide death output file.
void NatalDispersalAnalysis()
Does analysis on the natal dispersal output file and saves the results to RabbitPOMSummary....
void ReproOutputRecordOutputClose()
Closes the reproductive output file.
bool GetForageDay()
Get method for the forage day flag.
void AssignStaticVariables()
Assigns any static variables needing config variable assignment.
The rabbit young class. All special young behaviour is described here.
int m_reproswitchbuffer
Prevents continuous breeding season switching.
ofstream m_WarrenOccupancyFile
The warren occupancy output file.