44 #ifndef Rabbit_Population_ManagerH 45 #define Rabbit_Population_ManagerH 102 Rabbit_Warren* FindClosestWarren(
int a_x,
int a_y,
int a_rank);
104 void CheckForRabbitBreedingConditions(
void );
112 for (
unsigned r =
rob_Male; r <
rob_foobar; r++) sum += (
unsigned) TheArray[r].size();
120 return m_RabbitGrowth[ a_age ];
137 double m_RabbitGrowth[3650];
152 virtual void DoFirst();
158 virtual void DoLast();
160 void PreProcessWarrenLocations();
162 bool WarrenLegalPos(
int &a_x,
int a_y);
164 void SaveWarrenLocations(
void );
166 void LoadWarrenLocations(
void );
168 double AssessPctForage(
int a_x,
int a_y);
170 void CreateLocalWarrenNetworkLists(
void );
172 void WarrenOccupancyRecordOutput();
174 void PesticideDeathRecordOutput();
176 void PesticideDeathRecordOutputOpen();
178 void PesticideDeathRecordOutputClose();
180 void WarrenOccupancyRecordOutputOpen();
182 void WarrenOccupancyRecordOutputClose();
184 void WarrenOutputAnalysis();
186 void LifetimeReproAnalysis();
188 void NatalDispersalAnalysis();
190 void ReproOutputRecordOutputOpen();
192 void ReproOutputRecordOutputClose();
194 void NatalDispersalRecordOutputOpen();
196 void NatalDispersalRecordOutputClose();
198 void AssignStaticVariables();
200 void TheNWordOutputProbe();
205 void NatalDispersalRecordOutput(
Rabbit_Base* a_rabbit);
ofstream m_PesticideDeathOFile
The pesticide death output file.
The rabbit young class. All special young behaviour is described here.
The landscape class containing all environmental and topographical data.
bool m_forageday
Flag to record whether today is a possible forage day.
bool m_rabbitBreedingSeason
The breeding season flag.
The rabbit female class. All special female behaviour is described here.
int m_warrenfixedsizediv2
Half max warren size in m - for speed.
Rabbit_Warren * m_Warren
A pointer to the current warren.
bool GetForageDay()
Get method for the forage day flag.
Rabbit_Population_Manager * m_NPM
Rabbit_Population_Manager pointer.
A class to describe the rabbits warren system.
virtual void DoBefore()
Things to do before the Step.
int m_warrenfixedsize
Holds an input variable for max warren size in m.
Base class for all population managers.
Used for creation of a new Rabbit object.
The class to handle all predator population related matters.
TTypesOfRabbitHabitat
A classification of rabbit habitat types. All landscape elements will be classified into one of the c...
bool IsBreedingSeason(void)
Get whether it is breeding season.
int m_weightage
The rabbit age in terms of weight.
The base class for all ALMaSS animal classes.
int m_soil
The current warren soil type.
ofstream m_ReproOutputFile
For recording the lifetime reproductive success.
double GetGrowth(int a_age)
Get method for the rabbit growth with age.
virtual void DoAfter()
Things to do before the EndStep.
int m_reproswitchbuffer
Prevents continuous breeding season switching.
ofstream m_WarrenOccupancyFile
The warren occupancy output file.
Landscape * m_L
Landscape pointer.
unsigned SupplyAllBigRabbits()
Returns the total number of rabbits.
Rabbit_Young * m_rabbit
A pointer to a rabbit base - useful for extra information.
ofstream m_NatalDispersalFile
For recording the natal dispersal of adults from birth to death.