ALMaSS Rodenticide ODdox  1.1
The rodenticide model description following ODdox protocol
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
173  {
174  return (A1->WhatState() < A2->WhatState());
175  }

References TAnimal::WhatState().


The documentation for this class was generated from the following file:
TAnimal::WhatState
virtual int WhatState()
Definition: PopulationManager.h:263