ALMaSS Rabbit ODdox
1.1
The rabbit model description following ODdox protocol
|
The main source code for all rabbit population manager and associated classes More...
#include <iostream>
#include <fstream>
#include <vector>
#include <math.h>
#include "../BatchALMaSS/ALMaSS_Setup.h"
#include "../ALMaSSDefines.h"
#include "../Landscape/ls.h"
#include "../BatchALMaSS/PopulationManager.h"
#include "../BatchALMaSS/AOR_Probe.h"
#include "../Rabbit/Rabbit.h"
#include "../Rabbit/Rabbit_Population_Manager.h"
#include "../BatchALMaSS/BoostRandomGenerators.h"
Go to the source code of this file.
Variables | |
boost::variate_generator< base_generator_type &, boost::uniform_real<> > | g_rand_uni |
CfgFloat | cfg_maxForageHeight |
Input variable. The maximum height desirable for forage vegetation. More... | |
CfgFloat | cfg_dispersalmortperm |
Input variable. The additional mortality rate with distance for between warren dispersal. More... | |
CfgFloat | cfg_rabbitminkits |
The minimum number of kits in a litter. More... | |
CfgFloat | cfg_rabbitmaxkits |
The maximum number of kits in a litter. More... | |
CfgFloat | cfg_minForageDigestability |
Input variable. Input variable. The minimum digestability desirable for forage vegetation. More... | |
CfgBool | cfg_RipleysOutput_used |
CfgBool | cfg_AOROutput_used |
CfgFloat | cfg_rabbit_pesticidedegradationrate |
Holds 1-proportion of decay of body burden of pesticide per day. Default of 0.0 will remove all body burden pesticide at the end of each day. More... | |
static CfgInt | cfg_RabbitStartNos ("RABBIT_STARTNOS", CFG_CUSTOM, 25000) |
The starting number of rabbits. More... | |
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 soil. More... | |
static CfgBool | cfg_warrenreadlocations ("RABBIT_WARRENREADLOCATIONS", CFG_CUSTOM, true) |
Input variable. Should warren locations be calculated or read from a file? More... | |
static CfgStr | cfg_warrenlocationsfile ("RABBIT_WARRENLOCATIONSFILE", CFG_CUSTOM, "RabbitWarrenLocations.txt") |
Input variable. The warren locations file. More... | |
static CfgInt | cfg_warrenoccupancyrecordday ("RABBIT_WARRENOCCUPANCYRECORDDAY", CFG_CUSTOM, 60) |
Output control - the day in year for recording warren and population data. More... | |
static CfgInt | cfg_maxWarrenNetworkDist ("RABBIT_MAXWARRENNETWORKDIST", CFG_CUSTOM, 1500) |
Input variable. The maximum distance between directly connected warrens. More... | |
static CfgFloat | cfg_rabbitminbreedingtemp ("RABBIT_MINBREEDINGTEMP", CFG_CUSTOM, 300.0) |
Input variable. The minimum 60 day average temperature for rabbit breeding. More... | |
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? More... | |
static CfgInt | cfg_rabbit_fix_soiltype ("RABBIT_FIX_SOIL_TYPE", CFG_CUSTOM, 0) |
Input variable. The soil type applied to all warrens. More... | |
CfgInt | cfg_rabbitdensitydependencedelay ("RABBIT_DENDEPPERIOD", CFG_CUSTOM, 53) |
Input variable. The period between recalculation of rabbit disease probability. More... | |
CfgInt | cfg_rabbitdiseasedensitydependencedelay ("RABBITDISEASEDENDEPPERIOD", CFG_CUSTOM, 90) |
Input variable. The period between recalculation of rabbit disease probability. More... | |
static CfgFloat | cfg_rabbitdailygrowthparam1 ("RABBIT_DAILYGROWTHPARAM_ONE", CFG_CUSTOM, 1127.616084) |
Input variable. Parameter one of the rabbit growth curve. More... | |
static CfgFloat | cfg_rabbitdailygrowthparam2 ("RABBIT_DAILYGROWTHPARAM_TWO", CFG_CUSTOM, -0.013143202) |
Input variable. Parameter two of the rabbit growth curve. More... | |
static CfgFloat | cfg_rabbitdailygrowthparam3 ("RABBIT_DAILYGROWTHPARAM_THREE", CFG_CUSTOM, 0.0) |
Input variable. Parameter three of the rabbit growth curve. More... | |
static CfgFloat | cfg_rabbitminimumforagetemp ("RABBIT_MINFORAGETEMP", CFG_CUSTOM, -0.83) |
Input variable. The minimum forage temperature for rabbits. More... | |
static CfgFloat | cfg_rabbitmaxforagerainfall ("RABBIT_MAXFORAGERAINFALL", CFG_CUSTOM, 3.6) |
Input variable. The maximum rainfall before rabbits are assumed not to forage. More... | |
CfgBool | cfg_RabbitUseNatalDispersalRecord ("RABBIT_USENATALDISPERSALRECORD", CFG_CUSTOM, false) |
Flag to denote using lifetime repro output file or not. More... | |
CfgInt | cfg_RabbitUseNatalDispersalRecordAge ("RABBIT_USENATALDISPERSALRECORDAGE", CFG_CUSTOM, 30 *6) |
Flag to denote using lifetime repro output file or not. More... | |
CfgBool | cfg_RabbitUseReproOutput ("RABBIT_USEREPROOUTPUT", CFG_CUSTOM, false) |
Flag to denote using lifetime repro output file or not. More... | |
int | g_land_width = 0 |
The main source code for all rabbit population manager and associated classes
Version of November 2015
By Chris J. Topping
Definition in file Rabbit_Population_Manager.cpp.
CfgBool cfg_AOROutput_used |
CfgFloat cfg_dispersalmortperm |
Input variable. The additional mortality rate with distance for between warren dispersal.
Referenced by Rabbit_Population_Manager::AssignStaticVariables(), and Rabbit_Population_Manager::Rabbit_Population_Manager().
CfgFloat cfg_maxForageHeight |
Input variable. The maximum height desirable for forage vegetation.
Referenced by Rabbit_Population_Manager::AssignStaticVariables(), and Rabbit_Population_Manager::Rabbit_Population_Manager().
|
static |
Input variable. The maximum distance between directly connected warrens.
Referenced by Rabbit_Population_Manager::CreateLocalWarrenNetworkLists().
CfgFloat cfg_minForageDigestability |
Input variable. Input variable. The minimum digestability desirable for forage vegetation.
Referenced by Rabbit_Population_Manager::AssignStaticVariables().
|
static |
Input variable. The soil type applied to all warrens.
Referenced by Rabbit_Population_Manager::PreProcessWarrenLocations().
CfgFloat cfg_rabbit_pesticidedegradationrate |
Holds 1-proportion of decay of body burden of pesticide per day. Default of 0.0 will remove all body burden pesticide at the end of each day.
Referenced by Rabbit_Population_Manager::AssignStaticVariables().
|
static |
Input variable. Assume fixed soil type or use landscape info?
Referenced by Rabbit_Population_Manager::PreProcessWarrenLocations().
|
static |
Input variable. Parameter one of the rabbit growth curve.
Referenced by Rabbit_Population_Manager::Rabbit_Population_Manager().
|
static |
Input variable. Parameter two of the rabbit growth curve.
Referenced by Rabbit_Population_Manager::Rabbit_Population_Manager().
|
static |
Input variable. Parameter three of the rabbit growth curve.
Referenced by Rabbit_Population_Manager::Rabbit_Population_Manager().
CfgInt cfg_rabbitdensitydependencedelay("RABBIT_DENDEPPERIOD", CFG_CUSTOM, 53) |
Input variable. The period between recalculation of rabbit disease probability.
Referenced by Rabbit_Warren::UpdateForageInformation().
CfgInt cfg_rabbitdiseasedensitydependencedelay("RABBITDISEASEDENDEPPERIOD", CFG_CUSTOM, 90) |
Input variable. The period between recalculation of rabbit disease probability.
Referenced by Rabbit_Population_Manager::DoFirst().
|
static |
Input variable. The maximum rainfall before rabbits are assumed not to forage.
Referenced by Rabbit_Population_Manager::DoFirst().
CfgFloat cfg_rabbitmaxkits |
The maximum number of kits in a litter.
Referenced by Rabbit_Population_Manager::AssignStaticVariables().
|
static |
Input variable. The minimum 60 day average temperature for rabbit breeding.
Referenced by Rabbit_Population_Manager::CheckForRabbitBreedingConditions().
|
static |
Input variable. The minimum forage temperature for rabbits.
Referenced by Rabbit_Population_Manager::DoFirst().
CfgFloat cfg_rabbitminkits |
The minimum number of kits in a litter.
Referenced by Rabbit_Population_Manager::AssignStaticVariables().
|
static |
The starting number of rabbits.
Referenced by Rabbit_Population_Manager::Rabbit_Population_Manager().
CfgBool cfg_RabbitUseNatalDispersalRecord("RABBIT_USENATALDISPERSALRECORD", CFG_CUSTOM, false) |
Flag to denote using lifetime repro output file or not.
Referenced by Rabbit_Base::BeginStep(), Rabbit_Population_Manager::Rabbit_Population_Manager(), and Rabbit_Population_Manager::~Rabbit_Population_Manager().
CfgInt cfg_RabbitUseNatalDispersalRecordAge("RABBIT_USENATALDISPERSALRECORDAGE", CFG_CUSTOM, 30 *6) |
Flag to denote using lifetime repro output file or not.
Referenced by Rabbit_Base::BeginStep().
CfgBool cfg_RabbitUseReproOutput("RABBIT_USEREPROOUTPUT", CFG_CUSTOM, false) |
Flag to denote using lifetime repro output file or not.
Referenced by Rabbit_Population_Manager::Rabbit_Population_Manager(), Rabbit_Female::st_Dying(), and Rabbit_Population_Manager::~Rabbit_Population_Manager().
CfgBool cfg_RipleysOutput_used |
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 soil.
Referenced by Rabbit_Population_Manager::Rabbit_Population_Manager().
|
static |
Input variable. The warren locations file.
Referenced by Rabbit_Population_Manager::LoadWarrenLocations(), and Rabbit_Population_Manager::SaveWarrenLocations().
|
static |
Output control - the day in year for recording warren and population data.
Referenced by Rabbit_Population_Manager::DoLast().
|
static |
Input variable. Should warren locations be calculated or read from a file?
Referenced by Rabbit_Population_Manager::Rabbit_Population_Manager().
int g_land_width = 0 |
Definition at line 114 of file Rabbit_Population_Manager.cpp.
Referenced by Rabbit_Population_Manager::Rabbit_Population_Manager().
boost::variate_generator<base_generator_type&, boost::uniform_real<> > g_rand_uni |