ALMaSS Partridge ODdox
1.1
The partridge model description following ODdox protocol
|
Class for calculating k-factors. More...
#include <Partridge_All.h>
Public Member Functions | |
void | calcreal_1 () |
void | calcreal_2 () |
void | calcreal_3 () |
void | calcDickPottsk () |
void | Output_kfactors () |
void | CreateInfoDatabaseFile () |
k_factors () | |
~k_factors () | |
Public Attributes | |
population_attributes * | m_ThisYear |
population_attributes * | m_LastYear |
Protected Member Functions | |
void | reset () |
void | DumpInfoDatabase1 (int, int, double) |
void | DumpInfoDatabase () |
Protected Attributes | |
FILE * | kfactorsfile |
double | m_rk1 |
double | m_rk2 |
double | m_rk3 |
double | m_rk4 |
double | m_rk5 |
double | m_rk6 |
double | m_dpk1 |
double | m_dpk2 |
double | m_dpk3 |
double | m_dpk4 |
double | m_dpk5 |
Class for calculating k-factors.
Definition at line 235 of file Partridge_All.h.
k_factors::k_factors | ( | ) |
Definition at line 2858 of file Partridge_All.cpp.
References g_msg, kfactorsfile, m_LastYear, m_ThisYear, reset(), and MapErrorMsg::Warn().
k_factors::~k_factors | ( | ) |
Definition at line 2871 of file Partridge_All.cpp.
References kfactorsfile, m_LastYear, and m_ThisYear.
void k_factors::calcDickPottsk | ( | ) |
Definition at line 3026 of file Partridge_All.cpp.
References population_attributes::copyself(), DumpInfoDatabase1(), m_dpk1, m_dpk2, m_dpk3, m_dpk4, m_dpk5, population_attributes::m_geomeanBroodSize, m_LastYear, population_attributes::m_NoChicksSept, population_attributes::m_NoFemalesSept, population_attributes::m_NoMalesSept, population_attributes::m_NoOldFemales, population_attributes::m_NoOldMales, population_attributes::m_NoShotBirds, population_attributes::m_NoShotFemales, and m_ThisYear.
Referenced by Partridge_Population_Manager::DoFirst().
void k_factors::calcreal_1 | ( | ) |
Definition at line 2994 of file Partridge_All.cpp.
References population_attributes::m_NoChicksHatched, population_attributes::m_NoChicksSept, population_attributes::m_NoClutches, population_attributes::m_NoClutchesHatched, population_attributes::m_NoHensPredated, m_rk1, m_rk2, m_rk3, and m_ThisYear.
Referenced by Partridge_Population_Manager::DoFirst().
void k_factors::calcreal_2 | ( | ) |
Definition at line 3006 of file Partridge_All.cpp.
References population_attributes::m_NoFemalesSept, population_attributes::m_NoMalesSept, population_attributes::m_NoShotBirds, m_rk4, and m_ThisYear.
Referenced by Partridge_Population_Manager::DoFirst().
void k_factors::calcreal_3 | ( | ) |
Definition at line 3015 of file Partridge_All.cpp.
References population_attributes::m_NoBirdsApril, population_attributes::m_NoFemalesApril, population_attributes::m_NoFemalesSept, population_attributes::m_NoMalesSept, population_attributes::m_NoShotBirds, m_rk5, m_rk6, and m_ThisYear.
Referenced by Partridge_Population_Manager::DoFirst().
void k_factors::CreateInfoDatabaseFile | ( | ) |
Open a k-factor output file.
Definition at line 3145 of file Partridge_All.cpp.
References g_msg, and MapErrorMsg::Warn().
Referenced by Partridge_Population_Manager::Init().
|
protected |
Definition at line 3088 of file Partridge_All.cpp.
References g_msg, population_attributes::m_geomeanBroodSize, population_attributes::m_NoAgDeadClutches, population_attributes::m_NoChick1sAug, population_attributes::m_NoChick2sAug, population_attributes::m_NoChicksHatched, population_attributes::m_NoChicksSept, population_attributes::m_NoChicksSixWeeks, population_attributes::m_NoClutches, population_attributes::m_NoClutchesHatched, population_attributes::m_NoClutchesPredated, population_attributes::m_NoClutchesReplacements, population_attributes::m_NoDeadChicks, population_attributes::m_NoDeadClutches, population_attributes::m_NoDeadFemales, population_attributes::m_NoDeadMales, population_attributes::m_NoFemalesApril, population_attributes::m_NoFemalesDec, population_attributes::m_NoFemalesSept, population_attributes::m_NoFemsAug, population_attributes::m_NoHensPredated, population_attributes::m_NoMalesApril, population_attributes::m_NoMalesAug, population_attributes::m_NoMalesDec, population_attributes::m_NoMalesSept, population_attributes::m_NoNonTerritorialFemalesMay, population_attributes::m_NoOldFemales, population_attributes::m_NoOldMales, population_attributes::m_NoPairsApril, population_attributes::m_NoShotBirds, population_attributes::m_NoShotFemales, population_attributes::m_NoStarvedChicks, population_attributes::m_NoTerritorialFemalesApril, population_attributes::m_NoTerritorialFemalesMay, m_ThisYear, and MapErrorMsg::Warn().
Referenced by Output_kfactors().
|
protected |
Definition at line 3076 of file Partridge_All.cpp.
References g_msg, population_attributes::m_NoOldMales, m_ThisYear, and MapErrorMsg::Warn().
Referenced by calcDickPottsk().
void k_factors::Output_kfactors | ( | ) |
Definition at line 2893 of file Partridge_All.cpp.
References DumpInfoDatabase(), kfactorsfile, m_dpk1, m_dpk2, m_dpk3, m_dpk4, m_dpk5, m_rk1, m_rk2, m_rk3, m_rk4, m_rk5, m_rk6, and reset().
Referenced by Partridge_Population_Manager::DoFirst().
|
protected |
Definition at line 2978 of file Partridge_All.cpp.
References m_dpk1, m_dpk2, m_dpk3, m_dpk4, m_dpk5, m_rk1, m_rk2, m_rk3, m_rk4, m_rk5, and m_ThisYear.
Referenced by k_factors(), and Output_kfactors().
|
protected |
This class contains the functionality required to make two types of k-factors the first type is the 'real' k-factor, the second is the way Dick Potts calculated his.
Not yet functional/tested - 5thOct2008
Definition at line 243 of file Partridge_All.h.
Referenced by k_factors(), Output_kfactors(), and ~k_factors().
|
protected |
Definition at line 245 of file Partridge_All.h.
Referenced by calcDickPottsk(), Output_kfactors(), and reset().
|
protected |
Definition at line 245 of file Partridge_All.h.
Referenced by calcDickPottsk(), Output_kfactors(), and reset().
|
protected |
Definition at line 245 of file Partridge_All.h.
Referenced by calcDickPottsk(), Output_kfactors(), and reset().
|
protected |
Definition at line 245 of file Partridge_All.h.
Referenced by calcDickPottsk(), Output_kfactors(), and reset().
|
protected |
Definition at line 245 of file Partridge_All.h.
Referenced by calcDickPottsk(), Output_kfactors(), and reset().
population_attributes* k_factors::m_LastYear |
Definition at line 252 of file Partridge_All.h.
Referenced by calcDickPottsk(), k_factors(), and ~k_factors().
|
protected |
Definition at line 244 of file Partridge_All.h.
Referenced by calcreal_1(), Output_kfactors(), and reset().
|
protected |
Definition at line 244 of file Partridge_All.h.
Referenced by calcreal_1(), Output_kfactors(), and reset().
|
protected |
Definition at line 244 of file Partridge_All.h.
Referenced by calcreal_1(), Output_kfactors(), and reset().
|
protected |
Definition at line 244 of file Partridge_All.h.
Referenced by calcreal_2(), Output_kfactors(), and reset().
|
protected |
Definition at line 244 of file Partridge_All.h.
Referenced by calcreal_3(), Output_kfactors(), and reset().
|
protected |
Definition at line 244 of file Partridge_All.h.
Referenced by calcreal_3(), and Output_kfactors().
population_attributes* k_factors::m_ThisYear |
Definition at line 251 of file Partridge_All.h.
Referenced by Partridge_Clutch::AgDying(), calcDickPottsk(), calcreal_1(), calcreal_2(), calcreal_3(), Partridge_Chick::ChDeveloping(), Partridge_Chick::ChDying(), Partridge_Clutch::ClDying(), Partridge_Population_Manager::CreateObjects(), Partridge_Population_Manager::DoFirst(), DumpInfoDatabase(), DumpInfoDatabase1(), Partridge_Female::FDying(), Partridge_Female::FIncubating(), Partridge_Female::FLaying(), Partridge_Female::FMakingNest(), Partridge_Population_Manager::Hunting(), Partridge_Population_Manager::HuntingDifferentiatedBeetleBankArea(), Partridge_Population_Manager::HuntingGrid(), Partridge_Population_Manager::Init(), k_factors(), Partridge_Male::MDying(), reset(), and ~k_factors().