Loading [MathJax]/extensions/ams.js
ALMaSS  1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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"

Macros

#define WEASEL   0
 
#define OWL   1
 

Variables

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)
 
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

Macro Definition Documentation

◆ OWL

#define OWL   1

◆ WEASEL

#define WEASEL   0

Variable Documentation

◆ cfg_owl_breed_day

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

◆ cfg_owl_breed_threshold

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

◆ cfg_owl_death_threshold

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

◆ cfg_owl_StartingNo

◆ cfg_pred_first_sample_day

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

◆ cfg_pred_second_sample_day

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

◆ cfg_PredMortalityDataUsed

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

◆ cfg_PredSampleDataUsed

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

◆ cfg_weasel_breed_day

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

◆ cfg_weasel_breed_threshold

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

◆ cfg_weasel_death_threshold

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

◆ cfg_weasel_DispersalMax

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

Referenced by Weasel::Weasel().

◆ cfg_weasel_home_range

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

Referenced by Weasel::Weasel().

◆ cfg_weasel_kill_efficiency

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

Referenced by Weasel::Weasel().

◆ cfg_weasel_NoFailuresBeforeDispersal

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

Referenced by Weasel::Weasel().

◆ cfg_weasel_search_area

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

Referenced by Weasel::Weasel().

◆ cfg_weasel_StartingNo

◆ owl_breed_day

◆ owl_breed_threshold

◆ owl_death_threshold

◆ owl_StartingNo

◆ weasel_breed_day

◆ weasel_breed_threshold

◆ weasel_death_threshold

◆ weasel_StartingNo