1162 static CfgFloat cfg_rabbitminimumforagetemp("RABBIT_MINFORAGETEMP", CFG_CUSTOM,-0.83)
Input variable. The minimum forage temperature for rabbits.
void SetMaxKits(double a_num)
void ReproOutputRecordOutputClose()
Closes the reproductive output file.
The rabbit young class. All special young behaviour is described here.
The landscape class containing all environmental and topographical data.
CfgFloat cfg_minForageDigestability
Input variable. Input variable. The minimum digestability desirable for forage vegetation.
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.
CfgFloat cfg_rabbit_pesticidedegradationrate
Holds 1-proportion of decay of body burden of pesticide per day. Default of 0.0 will remove all body ...
static double m_minForageDigestability
The minimum vegetation digestability allowed for foraging.
Rabbit_Warren * m_Warren
A pointer to the current warren.
Rabbit_Population_Manager * m_NPM
Rabbit_Population_Manager pointer.
static CfgFloat cfg_rabbitdailygrowthparam2("RABBIT_DAILYGROWTHPARAM_TWO", CFG_CUSTOM,-0.013143202)
Input variable. Parameter two of the rabbit growth curve.
void LoadWarrenLocations(void)
Load warren locations.
void CreateLocalWarrenNetworkLists(void)
Forms the local warren network list for this warren.
void WarrenOccupancyRecordOutput()
Print warren occupancy record to file.
void AssignStaticVariables()
Assigns any static variables needing config variable assignment.
static CfgFloat cfg_rabbitdailygrowthparam3("RABBIT_DAILYGROWTHPARAM_THREE", CFG_CUSTOM, 0.0)
Input variable. Parameter three of the rabbit growth curve.
static CfgStr cfg_warrenlocationsfile("RABBIT_WARRENLOCATIONSFILE", CFG_CUSTOM,"RabbitWarrenLocations.txt")
Input variable. The warren locations file.
The rabbit male class. All special male behaviour is described here.
Integer configurator entry class.
static double m_pesticidedegradationrate
State variable used to hold the daily degredation rate of the pesticide in the body.
CfgInt cfg_warrenfixedsize("RABBIT_WARRENFIXEDSIZE", CFG_CUSTOM, 45)
Input variable. The maximum size for a warren (length m). Value is 45 for light soil 55 for heavy soi...
A class to describe the rabbits warren system.
CfgBool cfg_RabbitUseNatalDispersalRecord("RABBIT_USENATALDISPERSALRECORD", CFG_CUSTOM, false)
Flag to denote using lifetime repro output file or not.
TTypesOfLandscapeElement SupplyElementType(int a_polyref)
static CfgFloat cfg_rabbitdailygrowthparam1("RABBIT_DAILYGROWTHPARAM_ONE", CFG_CUSTOM, 1127.616084)
Input variable. Parameter one of the rabbit growth curve.
virtual ~Rabbit_Population_Manager(void)
Rabbit_Population_Manager Destructor.
int m_warrenfixedsize
Holds an input variable for max warren size in m.
vector< TListOfAnimals > TheArray
int SupplySimAreaWidth(void)
int SupplySoilTypeR(int a_x, int a_y)
Returns the soil type in rabbit warren reference numbers.
Base class for all population managers.
void NatalDispersalRecordOutputClose()
Closes the reproductive output file.
char m_SimulationName[255]
void CreateObjects(RabbitObjectTypes ob_type, TAnimal *pvo, struct_Rabbit *a_data, int a_number)
Method for creating a new individual Rabbit.
bool WarrenLegalPos(int &a_x, int a_y)
Tests the warrens list to see if this position is legal.
void CheckForRabbitBreedingConditions(void)
Determines whether it is breeding season.
Used for creation of a new Rabbit object.
The rabbit juvenile class. All special juvenile behaviour is described here.
virtual void DoLast()
Things to do after the EndStep.
TTypesOfRabbitHabitat
A classification of rabbit habitat types. All landscape elements will be classified into one of the c...
Rabbit_Population_Manager(Landscape *L)
Rabbit_Population_Manager Constructor.
double AssessPctForage(int a_x, int a_y)
Assesses the percentage of forage for a location assuming max warren size.
static CfgInt cfg_rabbit_fix_soiltype("RABBIT_FIX_SOIL_TYPE", CFG_CUSTOM, 0)
Input variable. The soil type applied to all warrens.
static CfgBool cfg_rabbit_use_fixed_soiltype("RABBIT_USE_FIXED_SOIL_TYPE", CFG_CUSTOM, true)
Input variable. Assume fixed soil type or use landscape info?
CfgInt cfg_rabbitdiseasedensitydependencedelay("RABBITDISEASEDENDEPPERIOD", CFG_CUSTOM, 90)
Input variable. The period between recalculation of rabbit disease probability.
CfgInt cfg_rabbitdensitydependencedelay("RABBIT_DENDEPPERIOD", CFG_CUSTOM, 53)
Input variable. The period between recalculation of rabbit disease probability.
void PreProcessWarrenLocations()
This pre-scans the landscape and determines all potential warren locations on start-up.
int SupplyYearNumber(void)
void ReproOutputRecordOutputOpen()
Opens the reproductive output file.
int m_weightage
The rabbit age in terms of weight.
void WarrenOccupancyRecordOutputOpen()
Opens the warren occupancy output file.
static CfgBool cfg_warrenreadlocations("RABBIT_WARRENREADLOCATIONS", CFG_CUSTOM, true)
Input variable. Should warren locations be calculated or read from a file?
CfgFloat cfg_rabbitminkits
The minimum number of kits in a litter.
The base class for all ALMaSS animal classes.
int m_PesticideDeaths[rob_foobar]
Holds the number of rabbits killed each day by pesticides.
int m_soil
The current warren soil type.
static CfgFloat cfg_rabbitminbreedingtemp("RABBIT_MINBREEDINGTEMP", CFG_CUSTOM, 300.0)
Input variable. The minimum 60 day average temperature for rabbit breeding.
double m_RabbitGrowth[3650]
Holds daily growth potential of rabbits for each day.
void SaveWarrenLocations(void)
Save warren locations.
String configurator entry class.
Bool configurator entry class.
TTypesOfRabbitHabitat ClassifyHabitat(TTypesOfLandscapeElement a_tole)
Classify a landscape element type according to the rabbit habitat classification. ...
static CfgInt cfg_maxWarrenNetworkDist("RABBIT_MAXWARRENNETWORKDIST", CFG_CUSTOM, 1500)
Input variable. The maximum distance between directly connected warrens.
CfgFloat cfg_maxForageHeight
Input variable. The maximum height desirable for forage vegetation.
CfgInt cfg_RabbitUseNatalDispersalRecordAge("RABBIT_USENATALDISPERSALRECORDAGE", CFG_CUSTOM, 30 *6)
Flag to denote using lifetime repro output file or not.
int SupplyDayInYear(void)
void WarrenOutputAnalysis()
Does analysis on the warren output file and saves the results to RabbitPOMSummary.txt.
static double m_dispersalmortperm
The extra dispersal mortality per m travelled.
CfgBool cfg_RabbitUseReproOutput("RABBIT_USEREPROOUTPUT", CFG_CUSTOM, false)
Flag to denote using lifetime repro output file or not.
void PesticideDeathRecordOutputOpen()
Opens pesticide death output file.
static CfgInt cfg_warrenoccupancyrecordday("RABBIT_WARRENOCCUPANCYRECORDDAY", CFG_CUSTOM, 60)
Output control - the day in year for recording warren and population data.
void NatalDispersalAnalysis()
Does analysis on the natal dispersal output file and saves the results to RabbitPOMSummary.txt.
virtual void DoFirst()
Things to do before anything else at the start of a timestep.
void NatalDispersalRecordOutputOpen()
Opens the reproductive output file.
void PesticideDeathRecordOutput()
Print pesticide death record to file.
bool OpenTheRipleysOutputProbe()
boost::variate_generator< base_generator_type &, boost::uniform_real<> > g_rand_uni
CfgFloat cfg_dispersalmortperm
Input variable. The additional mortality rate with distance for between warren dispersal.
void Warn(std::string a_msg1, std::string a_msg2)
CfgBool cfg_RipleysOutput_used
void LifetimeReproAnalysis()
Does analysis on the lifetime reproductive output file and saves the results to RabbitPOMSummary.txt.
static CfgFloat cfg_rabbitmaxforagerainfall("RABBIT_MAXFORAGERAINFALL", CFG_CUSTOM, 3.6)
Input variable. The maximum rainfall before rabbits are assumed not to forage.
static CfgInt cfg_RabbitStartNos("RABBIT_STARTNOS", CFG_CUSTOM, 25000)
The starting number of rabbits.
void PesticideDeathRecordOutputClose()
Closes the pesticide death output file.
int m_reproswitchbuffer
Prevents continuous breeding season switching.
void SetMinKits(double a_num)
Double configurator entry class.
static double m_maxForageHeight
The maximum vegetation height assumed for forage potential.
const char * m_ListNames[10]
unsigned m_ListNameLength
Landscape * m_L
Landscape pointer.
int GetCarryingCapacity()
Returns the carrying capacity in burrows.
Landscape * m_TheLandscape
CfgFloat cfg_rabbitmaxkits
The maximum number of kits in a litter.
void WarrenOccupancyRecordOutputClose()
Closes the warren occupancy output file.