|
Goose Management Model ODdox
1.02
|
code file for the Goose Memory Map and associated classes. More...
#include <cmath>#include <vector>#include <list>#include <iostream>#include <fstream>#include <string>#include "../Landscape/ls.h"#include "GooseMemoryMap.h"#include "../BatchALMaSS/PopulationManager.h"#include "Goose_Base.h"Go to the source code of this file.
Functions | |
| bool | IsMarkedToDelete (GooseMemoryLocation &o) |
Variables | |
| static CfgInt | cfg_goose_mem_expectedforagingtime ("GOOSE_MEM_EXPECTEDFORAGINGTIME", CFG_CUSTOM, 120) |
| static CfgInt | cfg_goose_mem_minmemoryvalue ("GOOSE_MEM_MINMEMVALUE", CFG_CUSTOM, 30) |
| static CfgFloat | cfg_goose_mem_threatdecayrate ("GOOSE_MEM_THREATDECAYRATE", CFG_CUSTOM, 0.1) |
| ALMaSS_MathFuncs | g_AlmassMathFuncs |
| This variable provides access the to the internal ALMaSS math functions. More... | |
code file for the Goose Memory Map and associated classes.
C++
Definition in file GooseMemoryMap.cpp.
| bool IsMarkedToDelete | ( | GooseMemoryLocation & | o | ) |
/brief Function to figure out if a particular memory should be deleted from the goose's memory
Definition at line 32 of file GooseMemoryMap.cpp.
References GooseMemoryLocation::ShouldDelete().
Referenced by GooseMemoryMap::DecayAllMemory().
|
static |
/brief The expected foraging time when evaluating cost benefit of flying to a location
Referenced by GooseMemoryMap::GooseMemoryMap().
|
static |
/brief Threshold value for when to delete objects stored in the goose's memory, here after 30 days
Referenced by GooseMemoryMap::GooseMemoryMap().
|
static |
/brief The rate at which memory of a threat decays
Referenced by GooseMemoryMap::GooseMemoryMap().
| ALMaSS_MathFuncs g_AlmassMathFuncs |
This variable provides access the to the internal ALMaSS math functions.
Referenced by GooseMemoryMap::ChangeSetFoodRes(), and GooseMemoryMap::DecayAllMemory().