ALMaSS Vole ODDox
1.1
The vole model description following ODdox protocol
|
The Owl class is one of two current implementations of TPredator. More...
#include <Predators.h>
Public Member Functions | |
virtual void | BeginStep (void) |
BeingStep behaviour - must be implemented in descendent classes. More... | |
virtual void | Step (void) |
Step behaviour - must be implemented in descendent classes. More... | |
virtual void | EndStep (void) |
EndStep behaviour - must be implemented in descendent classes. More... | |
Owl (Vole_Population_Manager *ThePrey, int p_x, int p_y, Landscape *p_L, TPredator_Population_Manager *p_PPM) | |
virtual | ~Owl () |
![]() | |
TPredator (Vole_Population_Manager *ThePrey, int p_x, int p_y, Landscape *p_L, TPredator_Population_Manager *p_PPM) | |
~TPredator () | |
bool | OverlapMyTerritory (unsigned x, unsigned y) |
virtual void | st_Dispersal () |
virtual void | st_Movement () |
virtual int | st_Hunting () |
unsigned | SupplySpeciesID () |
int | SupplyKill () |
bool | SupplyTerr () |
int | SupplyKillEff () |
int | SupplyHomeRange () |
![]() | |
unsigned | SupplyFarmOwnerRef () |
AnimalPosition | SupplyPosition () |
APoint | SupplyPoint () |
int | SupplyPolygonRef () |
int | Supply_m_Location_x () |
int | Supply_m_Location_y () |
virtual void | KillThis () |
virtual void | CopyMyself () |
void | SetX (int a_x) |
void | SetY (int a_y) |
TAnimal (int x, int y, Landscape *L) | |
virtual void | ReinitialiseObject (int x, int y, Landscape *L) |
Used to re-use an object - must be implemented in descendent classes. More... | |
virtual int | WhatState () |
virtual void | Dying () |
void | CheckManagement (void) |
void | CheckManagementXY (int x, int y) |
virtual bool | OnFarmEvent (FarmToDo) |
![]() | |
int | GetCurrentStateNo () |
Returns the current state number. More... | |
void | SetCurrentStateNo (int a_num) |
Sets the current state number. More... | |
bool | GetStepDone () |
Returns the step done indicator flag. More... | |
void | SetStepDone (bool a_bool) |
Sets the step done indicator flag. More... | |
virtual void | ReinitialiseObject () |
Used to re-use an object - must be implemented in descendent classes. More... | |
TALMaSSObject () | |
The constructor for TALMaSSObject. More... | |
virtual | ~TALMaSSObject () |
The destructor for TALMaSSObject. More... | |
void | OnArrayBoundsError () |
Used for debugging only, tests basic object properties. More... | |
Additional Inherited Members | |
![]() | |
void | CorrectWrapRound () |
Corrects wrap around co-ordinate problems. More... | |
![]() | |
TTypeOfPredatorState | CurrentPState |
unsigned | SpeciesID |
unsigned | m_DispersalMax |
unsigned | m_SearchArea |
int | m_kills_this_season |
int | PreyResponse1 |
int | PreyResponse2 |
int | m_Search_x |
int | m_Search_y |
int | SimW |
int | SimH |
unsigned | m_FailureCount |
unsigned | m_NoFailuresBeforeDispersal |
unsigned | m_HomeRange |
bool | m_HaveTerritory |
int | m_KillEfficiency |
Vole_Population_Manager * | m_Prey |
TPredator_Population_Manager * | m_OurPopulationManager |
vector< Vole_Base * > * | CurrentPrey |
![]() | |
int | m_Location_x |
int | m_Location_y |
Landscape * | m_OurLandscape |
![]() | |
int | m_CurrentStateNo |
The basic state number for all objects - '-1' indicates death. More... | |
bool | m_StepDone |
Indicates whether the iterative step code is done for this timestep. More... | |
The Owl class is one of two current implementations of TPredator.
It is configurable via config parameters and in other than name and default configuration it is identical to the Weasel class
Definition at line 208 of file Predators.h.
Owl::Owl | ( | Vole_Population_Manager * | ThePrey, |
int | p_x, | ||
int | p_y, | ||
Landscape * | p_L, | ||
TPredator_Population_Manager * | p_PPM | ||
) |
Definition at line 917 of file Predators.cpp.
References TPredator::m_DispersalMax, TPredator::m_HomeRange, TPredator::m_KillEfficiency, TPredator::m_NoFailuresBeforeDispersal, TPredator::m_SearchArea, TPredator::PreyResponse1, TPredator::PreyResponse2, and TPredator::SpeciesID.
|
virtual |
Definition at line 1005 of file Predators.cpp.
|
virtual |
BeingStep behaviour - must be implemented in descendent classes.
Reimplemented from TPredator.
Definition at line 933 of file Predators.cpp.
References TPredator_Population_Manager::CreateObjects(), TPredator_Population_Manager::dec_inds(), TAnimal::KillThis(), struct_Predator::L, TPredator::m_kills_this_season, TAnimal::m_Location_x, TAnimal::m_Location_y, TAnimal::m_OurLandscape, TPredator::m_OurPopulationManager, OWL, owl_breed_day, owl_breed_threshold, owl_death_threshold, struct_Predator::PM, TPredator_Population_Manager::supply_no_inds(), Landscape::SupplyDayInYear(), struct_Predator::x, and struct_Predator::y.
|
inlinevirtual |
EndStep behaviour - must be implemented in descendent classes.
Reimplemented from TPredator.
Definition at line 216 of file Predators.h.
|
virtual |
Step behaviour - must be implemented in descendent classes.
Reimplemented from TPredator.
Definition at line 967 of file Predators.cpp.
References TPredator::CurrentPState, TALMaSSObject::m_CurrentStateNo, TPredator::m_FailureCount, TPredator::m_HaveTerritory, TPredator::m_NoFailuresBeforeDispersal, TAnimal::m_OurLandscape, TALMaSSObject::m_StepDone, TPredator::PreyResponse1, TPredator::PreyResponse2, TPredator::st_Dispersal(), TPredator::st_Hunting(), TPredator::st_Movement(), tops_Dispersal, tops_Hunting, tops_InitialState, tops_Movement, and Landscape::Warn().