|
ALMaSS Rodenticide ODdox
1.1
The rodenticide model description following ODdox protocol
|
PopulationManager.cpp This is the code file for the population manager and associated classes
More...
#include <vector>#include <algorithm>#include <iostream>#include <fstream>#include <string.h>#include <list>#include "../Landscape/ls.h"#include "../BatchALMaSS/PopulationManager.h"#include "../GooseManagement/GooseMemoryMap.h"#include "../GooseManagement/Goose_Base.h"#include "../BatchALMaSS/CurveClasses.h"#include "../Hunters/Hunters_all.h"#include "../GooseManagement/Goose_Population_Manager.h"#include "../BatchALMaSS/BoostRandomGenerators.h"#include "AOR_Probe.h"Classes | |
| class | CompareX |
| Function to compare to TAnimal's m_Location_x. More... | |
| class | CompareY |
| Function to compare to TAnimal's m_Location_y. More... | |
| class | CompareState |
| Function to compare to TAnimal's Current behavioural state. More... | |
| class | CompareStateR |
| Function to compare to TAnimal's m_CurrentStateNo. More... | |
| class | CompareStateDead |
| Function to compare to TAnimal's m_CurrentStateNo to -1. More... | |
| class | CompareStateAlive |
| Function to compare to TAnimal's m_CurrentStateNo to anything but -1. More... | |
Macros | |
| #define | _CRTDBG_MAP_ALLOC |
Functions | |
| static CfgStr | cfg_RipleysOutput_filename ("G_RIPLEYSOUTPUT_FILENAME", CFG_CUSTOM, "RipleysOutput.txt") |
| static CfgStr | cfg_ReallyBigOutput_filename ("G_REALLYBIGOUTPUT_FILENAME", CFG_CUSTOM, "ReallyBigOutput.txt") |
| CfgBool | cfg_RipleysOutputMonthly_used ("G_RIPLEYSOUTPUTMONTHLY_USED", CFG_CUSTOM, false) |
| CfgBool | cfg_RipleysOutput_used ("G_RIPLEYSOUTPUT_USED", CFG_CUSTOM, false) |
| CfgBool | cfg_AOROutput_used ("G_AOROUTPUT_USED", CFG_CUSTOM, false) |
| CfgBool | cfg_ReallyBigOutput_used ("G_REALLYBIGOUTPUT_USED", CFG_CUSTOM, false) |
| CfgBool | cfg_fixed_random_sequence ("G_FIXEDRANDOMSEQUENCE", CFG_CUSTOM, false) |
| static CfgInt | cfg_AOROutput_interval ("G_AORSOUTPUT_INTERVAL", CFG_CUSTOM, 1) |
| static CfgInt | cfg_AOROutput_day ("G_AOROUTPUT_DAY", CFG_CUSTOM, 60) |
| static CfgInt | cfg_AOROutputFirstYear ("G_AOROUTPUT_FIRSTYEAR", CFG_CUSTOM, 1) |
| static CfgInt | cfg_RipleysOutput_interval ("G_RIPLEYSOUTPUT_INTERVAL", CFG_CUSTOM, 1) |
| static CfgInt | cfg_RipleysOutput_day ("G_RIPLEYSOUTPUT_DAY", CFG_CUSTOM, 60) |
| static CfgInt | cfg_RipleysOutputFirstYear ("G_RIPLEYSOUTPUT_FIRSTYEAR", CFG_CUSTOM, 1) |
| static CfgInt | cfg_ReallyBigOutput_interval ("G_REALLYBIGOUTPUT_INTERVAL", CFG_CUSTOM, 1) |
| static CfgInt | cfg_ReallyBigOutput_day1 ("G_REALLYBIGOUTPUT_DAY_ONE", CFG_CUSTOM, 1) |
| static CfgInt | cfg_ReallyBigOutput_day2 ("G_REALLYBIGOUTPUT_DAY_TWO", CFG_CUSTOM, 91) |
| static CfgInt | cfg_ReallyBigOutput_day3 ("G_REALLYBIGOUTPUT_DAY_THREE", CFG_CUSTOM, 182) |
| static CfgInt | cfg_ReallyBigOutput_day4 ("G_REALLYBIGOUTPUT_DAY_FOUR", CFG_CUSTOM, 274) |
| static CfgInt | cfg_ReallyBigOutputFirstYear ("G_REALLYBIGOUTPUT_FIRSTYEAR", CFG_CUSTOM, 1) |
| CfgInt | cfg_CatastropheEventStartYear ("PM_CATASTROPHEEVENTSTARTYEAR", CFG_CUSTOM, 99999) |
| CfgInt | cfg_pm_eventfrequency ("PM_EVENTFREQUENCY", CFG_CUSTOM, 0) |
| CfgInt | cfg_pm_eventsize ("PM_EVENTSIZE", CFG_CUSTOM, 100) |
| static CfgInt | cfg_DayInMonth ("PRB_DAYINMONTH", CFG_CUSTOM, 1) |
| static CfgBool | cfg_VoleCatastrophe_on ("VOLE_CATASTROPHE_ON", CFG_CUSTOM, false) |
| static CfgInt | cfg_VoleCatastrophe_interval ("VOLE_CATASTROPHE_I", CFG_CUSTOM, 365 *5) |
| static CfgInt | cfg_VoleCatastrophe_mortality ("VOLE_CATASTROPHE_M", CFG_CUSTOM, 90) |
Variables | |
| boost::variate_generator< base_generator_type &, boost::uniform_real<> > | g_rand_uni |
| char | g_str [255] |
PopulationManager.cpp This is the code file for the population manager and associated classes
by Chris J. Topping
Version of 23rd July 2003
All rights reserved.
With additions as noted in:
January 2008
Doxygen formatted comments in May 2008
| #define _CRTDBG_MAP_ALLOC |
|
static |
Referenced by Population_Manager::Run().
|
static |
Referenced by Population_Manager::Run().
| CfgBool cfg_AOROutput_used | ( | "G_AOROUTPUT_USED" | , |
| CFG_CUSTOM | , | ||
| false | |||
| ) |
|
static |
Referenced by Population_Manager::Run().
| CfgInt cfg_CatastropheEventStartYear | ( | "PM_CATASTROPHEEVENTSTARTYEAR" | , |
| CFG_CUSTOM | , | ||
| 99999 | |||
| ) |
Referenced by Population_Manager::Run().
|
static |
Referenced by Population_Manager::BeginningOfMonth().
| CfgBool cfg_fixed_random_sequence | ( | "G_FIXEDRANDOMSEQUENCE" | , |
| CFG_CUSTOM | , | ||
| false | |||
| ) |
| CfgInt cfg_pm_eventfrequency | ( | "PM_EVENTFREQUENCY" | , |
| CFG_CUSTOM | , | ||
| 0 | |||
| ) |
| CfgInt cfg_pm_eventsize | ( | "PM_EVENTSIZE" | , |
| CFG_CUSTOM | , | ||
| 100 | |||
| ) |
|
static |
Referenced by Population_Manager::Run().
|
static |
Referenced by Population_Manager::Run().
|
static |
Referenced by Population_Manager::Run().
|
static |
Referenced by Population_Manager::Run().
|
static |
Referenced by Population_Manager::OpenTheReallyBigProbe().
|
static |
Referenced by Population_Manager::Run().
| CfgBool cfg_ReallyBigOutput_used | ( | "G_REALLYBIGOUTPUT_USED" | , |
| CFG_CUSTOM | , | ||
| false | |||
| ) |
Referenced by Population_Manager::Run(), and Population_Manager::~Population_Manager().
|
static |
Referenced by Population_Manager::Run().
|
static |
Referenced by Population_Manager::Run().
|
static |
|
static |
Referenced by Population_Manager::Run().
| CfgBool cfg_RipleysOutput_used | ( | "G_RIPLEYSOUTPUT_USED" | , |
| CFG_CUSTOM | , | ||
| false | |||
| ) |
Referenced by Population_Manager::Run(), and Population_Manager::~Population_Manager().
|
static |
Referenced by Population_Manager::Run().
| CfgBool cfg_RipleysOutputMonthly_used | ( | "G_RIPLEYSOUTPUTMONTHLY_USED" | , |
| CFG_CUSTOM | , | ||
| false | |||
| ) |
|
static |
|
static |
|
static |
| boost::variate_generator<base_generator_type&, boost::uniform_real<> > g_rand_uni |
Referenced by Population_Manager::Shuffle_or_Sort().
| char g_str[255] |