Nemo  2.3.56
Simulate forward-in-time genetic evolution in a spatially explicit, individual-based stochastic simulator
LCE_Patch_Extinction Class Reference

Randomly removes individuals from the patches according to the extinction rate parameter. More...

#include <LCEmisc.h>

+ Inheritance diagram for LCE_Patch_Extinction:
+ Collaboration diagram for LCE_Patch_Extinction:

Public Member Functions

 LCE_Patch_Extinction ()
 
virtual ~LCE_Patch_Extinction ()
 
bool set_matrix_param (TMatrix *mat, string name)
 
void do_flush (Patch *patch)
 
void do_remove (age_idx AGE, Patch *patch)
 
unsigned int get_harvest_size (age_idx AGE, Patch *patch)
 
virtual bool setParameters ()
 
virtual void execute ()
 
virtual LifeCycleEventclone ()
 
virtual void loadFileServices (FileServices *loader)
 
virtual void loadStatServices (StatServices *loader)
 
virtual bool resetParameterFromSource (std::string param, SimComponent *cmpt)
 
virtual age_t removeAgeClass ()
 
virtual age_t addAgeClass ()
 
virtual age_t requiredAgeClass ()
 
- Public Member Functions inherited from LifeCycleEvent
 LifeCycleEvent (const char *name, const char *trait_link)
 Cstor. More...
 
virtual ~LifeCycleEvent ()
 
virtual void init (Metapop *popPtr)
 Sets the pointer to the current Metapop and the trait link if applicable. More...
 
virtual bool attach_trait (string trait)
 
virtual void set_paramset (std::string name, bool required, SimComponent *owner)
 
virtual void set_event_name (std::string &name)
 Set the name of the event (name of the ParamSet) and add the corresponding parameter to the set. More...
 
virtual void set_event_name (const char *name)
 
virtual string & get_event_name ()
 Accessor to the LCE's name. More...
 
virtual int get_rank ()
 Accessor to the LCE rank in the life cycle. More...
 
virtual void set_pop_ptr (Metapop *popPtr)
 Accessors for the population pointer. More...
 
virtual Metapopget_pop_ptr ()
 
- Public Member Functions inherited from SimComponent
 SimComponent ()
 
virtual ~SimComponent ()
 
virtual void loadUpdaters (UpdaterServices *loader)
 Loads the parameters and component updater onto the updater manager. More...
 
virtual void set_paramset (ParamSet *paramset)
 Sets the ParamSet member. More...
 
virtual void set_paramsetFromCopy (const ParamSet &PSet)
 Reset the set of parameters from a another set. More...
 
virtual ParamSetget_paramset ()
 ParamSet accessor. More...
 
virtual void add_parameter (Param *param)
 Interface to add a parameter to the set. More...
 
virtual void add_parameter (std::string Name, param_t Type, bool isRequired, bool isBounded, double low_bnd, double up_bnd)
 Interface to add a parameter to the set. More...
 
virtual void add_parameter (std::string Name, param_t Type, bool isRequired, bool isBounded, double low_bnd, double up_bnd, ParamUpdaterBase *updater)
 Interface to add a parameter and its updater to the set. More...
 
virtual Paramget_parameter (std::string name)
 Param getter. More...
 
virtual double get_parameter_value (std::string name)
 Param value getter. More...
 
virtual string get_name ()
 Returnd the name of the ParamSet, i.e. More...
 
virtual bool has_parameter (std::string name)
 Param getter. More...
 

Private Member Functions

unsigned int rand_uniform (double max)
 
unsigned int rand_poisson (double mean)
 
unsigned int rand_gaussian (double mean)
 
unsigned int rand_exp (double mean)
 
unsigned int rand_lognormal (double mean)
 

Private Attributes

TMatrix_Xtion_rate
 Patch extinction probability. More...
 
TMatrix_harvest_size
 Number of individual to remove per patch. More...
 
TMatrix_harvest_proportion
 Proportion of the patch size to remove. More...
 
string _harvest_distribution
 Name of the distribution to use. More...
 
bool _harvest_size_varies
 Flags. More...
 
bool _by_size
 
bool _by_proportion
 
double _harvest_dist_stdev
 Standard deviate to use with the Gaussian dist. More...
 
double _harvest_dist_shape
 shape variable to use with the gamma dist. More...
 
double _extinction_threshold
 Patch extinction threshold in % of total size of the patch. More...
 
unsigned int(LCE_Patch_Extinction::* _rand_size_fct )(double)
 

Additional Inherited Members

- Protected Attributes inherited from LifeCycleEvent
std::string _event_name
 The param name to be read in the init file. More...
 
Metapop_popPtr
 The ptr to the current Metapop. More...
 
std::string _LCELinkedTraitType
 The name of the linked trait. More...
 
int _LCELinkedTraitIndex
 The index in the individual's trait table of the linked trait. More...
 
- Protected Attributes inherited from SimComponent
ParamSet_paramSet
 The parameters container. More...
 

Detailed Description

Randomly removes individuals from the patches according to the extinction rate parameter.

Sets the patches extinction flag accordingly.

Constructor & Destructor Documentation

◆ LCE_Patch_Extinction()

LCE_Patch_Extinction::LCE_Patch_Extinction ( )
132 : LifeCycleEvent("extinction",""), _Xtion_rate(0),
135{
138 add_parameter("extinction_rate", DBL, 0, 1, 0, 1, updater);
139 add_parameter("extinction_threshold", DBL, 0, 1, 0, 1, updater);
140 add_parameter("extinction_size", INT, 0, 0, 0, 0, updater);
141 add_parameter("extinction_proportion", DBL, 0, 1, 0, 1, updater);
142 add_parameter("extinction_size_distribution", STR, 0, 0, 0, 0, updater);
143 add_parameter("extinction_size_dist_stdev", DBL, 0, 0, 0, 0, updater);
144 add_parameter("extinction_size_dist_shape", DBL, 0, 0, 0, 0, updater);
145}
TMatrix * _harvest_proportion
Proportion of the patch size to remove.
Definition: LCEmisc.h:110
unsigned int(LCE_Patch_Extinction::* _rand_size_fct)(double)
Definition: LCEmisc.h:122
bool _by_proportion
Definition: LCEmisc.h:114
double _harvest_dist_stdev
Standard deviate to use with the Gaussian dist.
Definition: LCEmisc.h:116
virtual bool setParameters()
Definition: LCEmisc.cc:150
double _extinction_threshold
Patch extinction threshold in % of total size of the patch.
Definition: LCEmisc.h:120
bool _harvest_size_varies
Flags.
Definition: LCEmisc.h:114
bool _by_size
Definition: LCEmisc.h:114
TMatrix * _harvest_size
Number of individual to remove per patch.
Definition: LCEmisc.h:108
TMatrix * _Xtion_rate
Patch extinction probability.
Definition: LCEmisc.h:106
Base class of the Life Cycle Events, declares the LCE interface.
Definition: lifecycleevent.h:73
Implementation of the ParamUpdaterBase interface.
Definition: param.h:363
virtual void add_parameter(Param *param)
Interface to add a parameter to the set.
Definition: simcomponent.h:112
@ DBL
Definition: types.h:78
@ STR
Definition: types.h:78
@ INT
Definition: types.h:78

References SimComponent::add_parameter(), DBL, INT, setParameters(), and STR.

Referenced by clone().

+ Here is the caller graph for this function:

◆ ~LCE_Patch_Extinction()

virtual LCE_Patch_Extinction::~LCE_Patch_Extinction ( )
inlinevirtual
134 {
135 if(_Xtion_rate) delete _Xtion_rate;
136 if(_harvest_size) delete _harvest_size;
138 }

References _harvest_proportion, _harvest_size, and _Xtion_rate.

Member Function Documentation

◆ addAgeClass()

virtual age_t LCE_Patch_Extinction::addAgeClass ( )
inlinevirtual

Implements LifeCycleEvent.

155{return 0;}

◆ clone()

virtual LifeCycleEvent * LCE_Patch_Extinction::clone ( )
inlinevirtual

Implements LifeCycleEvent.

148{return new LCE_Patch_Extinction();}
LCE_Patch_Extinction()
Definition: LCEmisc.cc:132

References LCE_Patch_Extinction().

◆ do_flush()

void LCE_Patch_Extinction::do_flush ( Patch patch)
320{
321 patch->flush(_popPtr);
322 patch->set_isExtinct(true);
323 patch->set_age(0);
324}
Metapop * _popPtr
The ptr to the current Metapop.
Definition: lifecycleevent.h:81
void set_isExtinct(bool status)
Definition: metapop.h:472
void flush(sex_t SEX, age_idx AGE, Metapop *pop)
Removes all individual pointers of the appropriate sex and age class and flush them into the recyclin...
Definition: metapop.h:643
void set_age(unsigned int a)
Definition: metapop.h:473

References LifeCycleEvent::_popPtr, Patch::flush(), Patch::set_age(), and Patch::set_isExtinct().

Referenced by execute().

+ Here is the caller graph for this function:

◆ do_remove()

void LCE_Patch_Extinction::do_remove ( age_idx  AGE,
Patch patch 
)
329{
330 unsigned int remove_size;
331 sex_t sex;
332
333 //check if probability of event is set, and if removal will happen
334 if(_Xtion_rate) if( RAND::Uniform() > _Xtion_rate->get(0, patch->getID()) ) return;
335
336 if(patch->size(AGE) != 0) {
337
338 remove_size = get_harvest_size(AGE, patch);
339
340 for(unsigned int i = 0; i < remove_size; ++i) {
341
342 sex = (sex_t)RAND::RandBool();
343
344 if(patch->size(sex, AGE) != 0)
345 _popPtr->recycle( patch->remove( sex, AGE, (unsigned int)RAND::Uniform(patch->size(sex, AGE)) ) );
346 else //we already know here that the patch is not empty
347 _popPtr->recycle( patch->remove( (sex_t)!sex, AGE, (unsigned int)RAND::Uniform(patch->size( (sex_t)!sex, AGE) ) ) );
348
349 if(patch->size(AGE) == 0) break;
350 }
351 // cout<<"--removed "<<remove_size<<" individuals in age class "<<AGE<<", patch "<< patch->getID()<<" size = "<<patch->size(AGE)<<endl;
352 }
353}
void recycle(Individual *ind)
Put an individual in the recycling pool.
Definition: indfactory.h:62
unsigned int get_harvest_size(age_idx AGE, Patch *patch)
Definition: LCEmisc.cc:357
unsigned int size(age_t AGE)
Returns the size of the container of the appropriate age class(es) for both sexes.
Definition: metapop.h:496
Individual * remove(sex_t SEX, age_idx AGE, unsigned int at)
Removes the individual sitting at the given index in the appropriate container.
Definition: metapop.h:573
unsigned int getID()
Definition: metapop.h:478
static double Uniform()
Generates a random number from [0.0, 1.0[ uniformly distributed.
Definition: Uniform.h:125
static bool RandBool()
Returns a random boolean.
Definition: Uniform.h:163
double get(unsigned int i, unsigned int j)
Accessor to element at row i and column j.
Definition: tmatrix.h:147
sex_t
Sex types, males are always 0 and females 1!!
Definition: types.h:36

References LifeCycleEvent::_popPtr, _Xtion_rate, TMatrix::get(), get_harvest_size(), Patch::getID(), RAND::RandBool(), IndFactory::recycle(), Patch::remove(), Patch::size(), and RAND::Uniform().

Referenced by execute().

+ Here is the caller graph for this function:

◆ execute()

void LCE_Patch_Extinction::execute ( )
virtual

Implements LifeCycleEvent.

285{
286#ifdef _DEBUG_
287 message("LCE_Patch_Extinction::execute ");
288 unsigned int cnt = 0;
289#endif
290 Patch *patch;
291 for(unsigned int i = 0; i < _popPtr->getPatchNbr(); i++) {
292
293 patch = _popPtr->getPatch(i);
294
295 if(_by_size || _by_proportion) {
296 do_remove(OFFSx, patch);
297 do_remove(ADLTx, patch);
298 } else if(_Xtion_rate)
299 if( RAND::Uniform() < _Xtion_rate->get(0, i) )
300 do_flush(patch);
301
302 if(_extinction_threshold != -1) {
303 if( _extinction_threshold < 1 && (double)patch->size(ALL)/patch->get_K() < _extinction_threshold )
304 do_flush(patch);
305 else if( patch->size(ALL) < _extinction_threshold )
306 do_flush(patch);
307 }
308#ifdef _DEBUG_
309 cnt += (patch->get_isExtinct());
310#endif
311 }
312#ifdef _DEBUG_
313 message("(%i extinct patches)\n",cnt);
314#endif
315}
void do_remove(age_idx AGE, Patch *patch)
Definition: LCEmisc.cc:328
void do_flush(Patch *patch)
Definition: LCEmisc.cc:319
unsigned int getPatchNbr()
Definition: metapop.h:276
Patch * getPatch(unsigned int i)
Patch accessor, return the ith+1 patch in the metapop.
Definition: metapop.h:257
Second class in the metapopulation design structure, between the Metapop and Individual classes.
Definition: metapop.h:430
unsigned int get_K()
Definition: metapop.h:479
bool get_isExtinct()
Definition: metapop.h:484
void message(const char *message,...)
Definition: output.cc:40
#define ALL
All ages age class flag.
Definition: types.h:56
@ OFFSx
Definition: types.h:42
@ ADLTx
Definition: types.h:42

References _by_proportion, _by_size, _extinction_threshold, LifeCycleEvent::_popPtr, _Xtion_rate, ADLTx, ALL, do_flush(), do_remove(), TMatrix::get(), Patch::get_isExtinct(), Patch::get_K(), Metapop::getPatch(), Metapop::getPatchNbr(), message(), OFFSx, Patch::size(), and RAND::Uniform().

◆ get_harvest_size()

unsigned int LCE_Patch_Extinction::get_harvest_size ( age_idx  AGE,
Patch patch 
)
358{
359
360 if( _by_size ) {
361
363 return (this->*_rand_size_fct) (_harvest_size->get(0, patch->getID()));
364
365 else return (unsigned int)_harvest_size->get(0, patch->getID());
366
367 } else if( _by_proportion ) {
368
369 return (unsigned int)(_harvest_proportion->get(0, patch->getID()) * patch->size(AGE));
370
371 }
372
373 return 0;
374}

References _by_proportion, _by_size, _harvest_proportion, _harvest_size, _harvest_size_varies, _rand_size_fct, TMatrix::get(), Patch::getID(), and Patch::size().

Referenced by do_remove().

+ Here is the caller graph for this function:

◆ loadFileServices()

virtual void LCE_Patch_Extinction::loadFileServices ( FileServices loader)
inlinevirtual

Implements SimComponent.

151{}

◆ loadStatServices()

virtual void LCE_Patch_Extinction::loadStatServices ( StatServices loader)
inlinevirtual

Implements SimComponent.

152{}

◆ rand_exp()

unsigned int LCE_Patch_Extinction::rand_exp ( double  mean)
inlineprivate
127{return (unsigned int)(-1.0 * mean * log(1.0-RAND::Uniform()));}

References RAND::Uniform().

Referenced by setParameters().

+ Here is the caller graph for this function:

◆ rand_gaussian()

unsigned int LCE_Patch_Extinction::rand_gaussian ( double  mean)
inlineprivate
126{return (unsigned int)abs(mean + RAND::Gaussian(_harvest_dist_stdev));}
static double Gaussian(double sigma)
Definition: Uniform.h:262

References _harvest_dist_stdev, and RAND::Gaussian().

Referenced by setParameters().

+ Here is the caller graph for this function:

◆ rand_lognormal()

unsigned int LCE_Patch_Extinction::rand_lognormal ( double  mean)
inlineprivate
128{return (unsigned int)RAND::LogNormal(mean, _harvest_dist_stdev);}
static double LogNormal(double zeta, double sigma)
Definition: Uniform.h:358

References _harvest_dist_stdev, and RAND::LogNormal().

Referenced by setParameters().

+ Here is the caller graph for this function:

◆ rand_poisson()

unsigned int LCE_Patch_Extinction::rand_poisson ( double  mean)
inlineprivate
125{return (unsigned int)RAND::Poisson(mean);}
static double Poisson(double mean)
From the Numerical Recieps.
Definition: Uniform.h:220

References RAND::Poisson().

Referenced by setParameters().

+ Here is the caller graph for this function:

◆ rand_uniform()

unsigned int LCE_Patch_Extinction::rand_uniform ( double  max)
inlineprivate
124{return RAND::Uniform((unsigned int)max);}

References RAND::Uniform().

Referenced by setParameters().

+ Here is the caller graph for this function:

◆ removeAgeClass()

virtual age_t LCE_Patch_Extinction::removeAgeClass ( )
inlinevirtual

Implements LifeCycleEvent.

154{return 0;}

◆ requiredAgeClass()

virtual age_t LCE_Patch_Extinction::requiredAgeClass ( )
inlinevirtual

Implements LifeCycleEvent.

156{return 0;}

◆ resetParameterFromSource()

virtual bool LCE_Patch_Extinction::resetParameterFromSource ( std::string  param,
SimComponent cmpt 
)
inlinevirtual

Implements SimComponent.

153{return false;}

◆ set_matrix_param()

bool LCE_Patch_Extinction::set_matrix_param ( TMatrix mat,
string  name 
)
256{
257 double value;
258 Param* param = get_parameter(name);
259
260 if(param->isMatrix()) {
261
262 param->getMatrix(mat);
263
264 if(mat->getNbRows() > 1) {
265 error("The \"%s\" matrix must be a one-dimensional array.\n", name.c_str());
266 return false;
267 }
268
269 if(mat->getNbCols() != _popPtr->getPatchNbr()) {
270 error("The length of the \"%s\" array must be equal to the number of patches.\n", name.c_str());
271 return false;
272 }
273
274 } else {
275 value = param->getValue();
276 mat->reset(1, _popPtr->getPatchNbr());
277 mat->assign(value);
278 }
279 return true;
280}
This structure stores one parameter, its definition and its string argument.
Definition: param.h:54
double getValue()
Returns the argument value according to its type.
Definition: param.cc:347
bool isMatrix()
Checks if the argument is of matrix type.
Definition: param.h:172
void getMatrix(TMatrix *mat)
Sets the matrix from the argument string if the parameter is set and of matrix type.
Definition: param.cc:357
virtual Param * get_parameter(std::string name)
Param getter.
Definition: simcomponent.h:139
void reset(unsigned int rows, unsigned int cols)
Re-allocate the existing matrix with assigned rows and cols dimensions.
Definition: tmatrix.h:116
void assign(double val)
Assigns a value to all element of the matrix.
Definition: tmatrix.h:110
unsigned int getNbRows()
Gives the number of rows.
Definition: tmatrix.h:166
unsigned int getNbCols()
Gives the number of columns.
Definition: tmatrix.h:169
int error(const char *str,...)
Definition: output.cc:77

References LifeCycleEvent::_popPtr, TMatrix::assign(), error(), SimComponent::get_parameter(), Param::getMatrix(), TMatrix::getNbCols(), TMatrix::getNbRows(), Metapop::getPatchNbr(), Param::getValue(), Param::isMatrix(), and TMatrix::reset().

Referenced by setParameters().

+ Here is the caller graph for this function:

◆ setParameters()

bool LCE_Patch_Extinction::setParameters ( )
virtual

Implements SimComponent.

151{
152
153 if(get_parameter("extinction_rate")->isSet()) {
154
155 if(!_Xtion_rate) _Xtion_rate = new TMatrix();
156
157 if(!set_matrix_param(_Xtion_rate, "extinction_rate")) return false;
158
159 } else {
160 if(_Xtion_rate) delete _Xtion_rate;
161 _Xtion_rate = 0;
162 }
163
164 if(get_parameter("extinction_size")->isSet()) {
165
167
168 if(!set_matrix_param(_harvest_size, "extinction_size")) return false;
169
170 _by_size = true;
171
172 } else {
173 if(_harvest_size) delete _harvest_size;
174 _harvest_size = 0;
175 _by_size = false;
176 }
177
178 if(get_parameter("extinction_proportion")->isSet()) {
180
181 if(!set_matrix_param(_harvest_proportion, "extinction_proportion")) return false;
182
183 _by_proportion = true;
184
185 } else {
188 _by_proportion = false;
189 }
190
191 _extinction_threshold = get_parameter_value("extinction_threshold");
192
193 if( !_Xtion_rate && !_by_size && !_by_proportion) {
194 error("Please give one of the following parameter: \"extinction_rate\", \"extinction_size\", or \"extinction_proportion\".\n");
195 return false;
196 }
197 else if(_by_size && _by_proportion) {
198 warning("Both \"extinction_size\" and \"extinction_proportion\" are set, using sizes only.\n");
199 _by_proportion = false;
200 }
201
202 if(get_parameter("extinction_size_distribution")->isSet()) {
203
204 if(!_by_size) {
205 error("\"extinction_size_distribution\" is set but the \"extinction_size\" parameter is not!\n");
206 return false;
207 }
208
209 _harvest_distribution = _paramSet->getArg("extinction_size_distribution");
211 _harvest_dist_stdev = get_parameter_value("extinction_size_dist_stdev");
212
213 if(_harvest_distribution.compare("poisson") == 0)
214
216
217 else if(_harvest_distribution.compare("uniform") == 0)
218
220
221 else if(_harvest_distribution.compare("normal") == 0) {
222
224
225 if(_harvest_dist_stdev == -1) {
226 error("Standard deviation of the normal distribution for the harvesting size distribution is missing!\n");
227 return false;
228 }
229
230 } else if(_harvest_distribution.compare("lognormal") == 0) {
231
233
234 if(_harvest_dist_stdev == -1) {
235 error("Standard deviation of the lognormal distribution for the harvesting size distribution is missing!\n");
236 return false;
237 }
238
239 } else if(_harvest_distribution.compare("exponential") == 0)
240
242
243 else {
244 error("Distribution \"%s\" is not a valid option for \"harvest_size_distribution\"\n",
245 _harvest_distribution.c_str());
246 return false;
247 }
248
249 }
250 return true;
251}
unsigned int rand_exp(double mean)
Definition: LCEmisc.h:127
unsigned int rand_lognormal(double mean)
Definition: LCEmisc.h:128
unsigned int rand_uniform(double max)
Definition: LCEmisc.h:124
string _harvest_distribution
Name of the distribution to use.
Definition: LCEmisc.h:112
unsigned int rand_poisson(double mean)
Definition: LCEmisc.h:125
bool set_matrix_param(TMatrix *mat, string name)
Definition: LCEmisc.cc:255
unsigned int rand_gaussian(double mean)
Definition: LCEmisc.h:126
string getArg(string name)
Accessor to the parameters argument string.
Definition: param.h:300
virtual double get_parameter_value(std::string name)
Param value getter.
Definition: simcomponent.h:143
ParamSet * _paramSet
The parameters container.
Definition: simcomponent.h:48
A class to handle matrix in params, coerces matrix into a vector of same total size.
Definition: tmatrix.h:49
void warning(const char *str,...)
Definition: output.cc:58

References _by_proportion, _by_size, _extinction_threshold, _harvest_dist_stdev, _harvest_distribution, _harvest_proportion, _harvest_size, _harvest_size_varies, SimComponent::_paramSet, _rand_size_fct, _Xtion_rate, error(), SimComponent::get_parameter(), SimComponent::get_parameter_value(), ParamSet::getArg(), rand_exp(), rand_gaussian(), rand_lognormal(), rand_poisson(), rand_uniform(), set_matrix_param(), and warning().

Referenced by LCE_Patch_Extinction().

+ Here is the caller graph for this function:

Member Data Documentation

◆ _by_proportion

bool LCE_Patch_Extinction::_by_proportion
private

◆ _by_size

bool LCE_Patch_Extinction::_by_size
private

◆ _extinction_threshold

double LCE_Patch_Extinction::_extinction_threshold
private

Patch extinction threshold in % of total size of the patch.

Referenced by execute(), and setParameters().

◆ _harvest_dist_shape

double LCE_Patch_Extinction::_harvest_dist_shape
private

shape variable to use with the gamma dist.

◆ _harvest_dist_stdev

double LCE_Patch_Extinction::_harvest_dist_stdev
private

Standard deviate to use with the Gaussian dist.

Referenced by rand_gaussian(), rand_lognormal(), and setParameters().

◆ _harvest_distribution

string LCE_Patch_Extinction::_harvest_distribution
private

Name of the distribution to use.

Referenced by setParameters().

◆ _harvest_proportion

TMatrix* LCE_Patch_Extinction::_harvest_proportion
private

Proportion of the patch size to remove.

Referenced by get_harvest_size(), setParameters(), and ~LCE_Patch_Extinction().

◆ _harvest_size

TMatrix* LCE_Patch_Extinction::_harvest_size
private

Number of individual to remove per patch.

Referenced by get_harvest_size(), setParameters(), and ~LCE_Patch_Extinction().

◆ _harvest_size_varies

bool LCE_Patch_Extinction::_harvest_size_varies
private

Flags.

Referenced by get_harvest_size(), and setParameters().

◆ _rand_size_fct

unsigned int(LCE_Patch_Extinction::* LCE_Patch_Extinction::_rand_size_fct) (double)
private

Referenced by get_harvest_size(), and setParameters().

◆ _Xtion_rate

TMatrix* LCE_Patch_Extinction::_Xtion_rate
private

Patch extinction probability.

Referenced by do_remove(), execute(), setParameters(), and ~LCE_Patch_Extinction().


The documentation for this class was generated from the following files:

Generated for Nemo v2.3.56 by  doxygen 1.9.0 -- Nemo is hosted on  Download Nemo

Locations of visitors to this page
Catalogued on GSR