ALMaSS Vole ODDox  1.1
The vole model description following ODdox protocol
Predators.cpp File Reference

The main source code for all predator lifestage and population manager classes More...

#include <iostream>
#include <fstream>
#include <vector>
#include "../Landscape/ls.h"
#include "../BatchALMaSS/PopulationManager.h"
#include "../Vole/GeneticMaterial.h"
#include "../Vole/vole_all.h"
#include "../Vole/Predators.h"
#include "../BatchALMaSS/BinaryMapBase.h"
#include "../BatchALMaSS/MovementMap.h"
#include "../Vole/VolePopulationManager.h"

Go to the source code of this file.

Macros

#define WEASEL   0
 
#define OWL   1
 

Functions

static CfgBool cfg_PredMortalityDataUsed ("PRED_MORTALITY_DATA_USED", CFG_CUSTOM, false)
 
static CfgBool cfg_PredSampleDataUsed ("PRED_SAMPLE_DATA_USED", CFG_CUSTOM, false)
 
static CfgInt cfg_pred_first_sample_day ("PRED_SAMPLE_FILE_DAY_ONE", CFG_CUSTOM, 109)
 
static CfgInt cfg_pred_second_sample_day ("PRED_SAMPLE_FILE_DAY_TWO", CFG_CUSTOM, 287)
 
static CfgInt cfg_weasel_breed_threshold ("WEASEL_BT", CFG_CUSTOM, 5)
 
static CfgInt cfg_owl_breed_threshold ("OWL_BT", CFG_CUSTOM, 5000000)
 
static CfgInt cfg_weasel_death_threshold ("WEASEL_DT", CFG_CUSTOM, 10)
 
static CfgInt cfg_owl_death_threshold ("OWL_DT", CFG_CUSTOM,-1)
 
static CfgInt cfg_weasel_breed_day ("WEASEL_BD", CFG_CUSTOM, 115)
 
static CfgInt cfg_owl_breed_day ("OWL_BD", CFG_CUSTOM, 120)
 
static CfgInt cfg_weasel_kill_efficiency ("WEASEL_KILL_EFF", CFG_CUSTOM, 250)
 
static CfgInt cfg_weasel_home_range ("WEASEL_HOME_RANGE", CFG_CUSTOM, 250)
 
static CfgInt cfg_weasel_search_area ("WEASEL_SEARCH_AREA", CFG_CUSTOM, 100)
 
static CfgInt cfg_weasel_NoFailuresBeforeDispersal ("WEASEL_FAILURES", CFG_CUSTOM, 10)
 
static CfgInt cfg_weasel_DispersalMax ("WEASEL_DISPERSAL_MAX", CFG_CUSTOM, 200)
 
static CfgInt cfg_weasel_StartingNo ("WEASEL_START_NO", CFG_CUSTOM, 0)
 
static CfgInt cfg_owl_StartingNo ("OWL_START_NO", CFG_CUSTOM, 0)
 

Variables

int weasel_breed_threshold
 
int owl_breed_threshold
 
int weasel_death_threshold
 
int owl_death_threshold
 
int weasel_breed_day
 
int owl_breed_day
 
int owl_StartingNo
 
int weasel_StartingNo
 

Detailed Description

The main source code for all predator lifestage and population manager classes

Version of 28 January 2001.
By Chris J. Topping

Definition in file Predators.cpp.

Macro Definition Documentation

◆ OWL

#define OWL   1

Definition at line 49 of file Predators.cpp.

◆ WEASEL

#define WEASEL   0

Definition at line 48 of file Predators.cpp.

Function Documentation

◆ cfg_owl_breed_day()

static CfgInt cfg_owl_breed_day ( "OWL_BD"  ,
CFG_CUSTOM  ,
120   
)
static

◆ cfg_owl_breed_threshold()

static CfgInt cfg_owl_breed_threshold ( "OWL_BT"  ,
CFG_CUSTOM  ,
5000000   
)
static

◆ cfg_owl_death_threshold()

static CfgInt cfg_owl_death_threshold ( "OWL_DT"  ,
CFG_CUSTOM  ,
1 
)
static

◆ cfg_owl_StartingNo()

◆ cfg_pred_first_sample_day()

static CfgInt cfg_pred_first_sample_day ( "PRED_SAMPLE_FILE_DAY_ONE"  ,
CFG_CUSTOM  ,
109   
)
static

◆ cfg_pred_second_sample_day()

static CfgInt cfg_pred_second_sample_day ( "PRED_SAMPLE_FILE_DAY_TWO"  ,
CFG_CUSTOM  ,
287   
)
static

◆ cfg_PredMortalityDataUsed()

static CfgBool cfg_PredMortalityDataUsed ( "PRED_MORTALITY_DATA_USED"  ,
CFG_CUSTOM  ,
false   
)
static

◆ cfg_PredSampleDataUsed()

static CfgBool cfg_PredSampleDataUsed ( "PRED_SAMPLE_DATA_USED"  ,
CFG_CUSTOM  ,
false   
)
static

◆ cfg_weasel_breed_day()

static CfgInt cfg_weasel_breed_day ( "WEASEL_BD"  ,
CFG_CUSTOM  ,
115   
)
static

◆ cfg_weasel_breed_threshold()

static CfgInt cfg_weasel_breed_threshold ( "WEASEL_BT"  ,
CFG_CUSTOM  ,
 
)
static

◆ cfg_weasel_death_threshold()

static CfgInt cfg_weasel_death_threshold ( "WEASEL_DT"  ,
CFG_CUSTOM  ,
10   
)
static

◆ cfg_weasel_DispersalMax()

static CfgInt cfg_weasel_DispersalMax ( "WEASEL_DISPERSAL_MAX"  ,
CFG_CUSTOM  ,
200   
)
static

Referenced by Weasel::Weasel().

◆ cfg_weasel_home_range()

static CfgInt cfg_weasel_home_range ( "WEASEL_HOME_RANGE"  ,
CFG_CUSTOM  ,
250   
)
static

Referenced by Weasel::Weasel().

◆ cfg_weasel_kill_efficiency()

static CfgInt cfg_weasel_kill_efficiency ( "WEASEL_KILL_EFF"  ,
CFG_CUSTOM  ,
250   
)
static

Referenced by Weasel::Weasel().

◆ cfg_weasel_NoFailuresBeforeDispersal()

static CfgInt cfg_weasel_NoFailuresBeforeDispersal ( "WEASEL_FAILURES"  ,
CFG_CUSTOM  ,
10   
)
static

Referenced by Weasel::Weasel().

◆ cfg_weasel_search_area()

static CfgInt cfg_weasel_search_area ( "WEASEL_SEARCH_AREA"  ,
CFG_CUSTOM  ,
100   
)
static

Referenced by Weasel::Weasel().

◆ cfg_weasel_StartingNo()

Variable Documentation

◆ owl_breed_day

int owl_breed_day

◆ owl_breed_threshold

int owl_breed_threshold

◆ owl_death_threshold

int owl_death_threshold

◆ owl_StartingNo

int owl_StartingNo

◆ weasel_breed_day

int weasel_breed_day

◆ weasel_breed_threshold

int weasel_breed_threshold

◆ weasel_death_threshold

int weasel_death_threshold

◆ weasel_StartingNo

int weasel_StartingNo