File failed to load: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/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
CompareState Class Reference

Function to compare to TAnimal's Current behavioural state. More...

Public Member Functions

bool operator() (TAnimal *&A1, TAnimal *&A2) const
 

Detailed Description

Function to compare to TAnimal's Current behavioural state.

NB WhatState must be reimplemented by all descendents of TAnimal that use this functionality (not all do)

Member Function Documentation

◆ operator()()

bool CompareState::operator() ( TAnimal *&  A1,
TAnimal *&  A2 
) const
inline
157 { return A1->WhatState() < A2->WhatState(); }

References TAnimal::WhatState().


The documentation for this class was generated from the following file:
TAnimal::WhatState
virtual int WhatState()
Returns the objects current state number.
Definition: PopulationManager.h:301