Egglib 2.1.11
C++ library reference manual
Public Member Functions | Protected Attributes | List of all members
PopulationParamChange Class Reference

Single parameter changes applied to a single population. More...

#include <ChangeTypes.hpp>

Inheritance diagram for PopulationParamChange:
SingleParamChange Change PopulationBottleneck PopulationGrowthRateChange SinglePopulationSizeChange

Public Member Functions

 PopulationParamChange ()
 Default constructor. More...
 
 PopulationParamChange (double date, unsigned int population, double value)
 Standard constructor. More...
 
unsigned int population () const
 Gets the population index.
 
void population (unsigned int value)
 Sets the population index.
 
- Public Member Functions inherited from SingleParamChange
 SingleParamChange ()
 Default constructor. More...
 
 SingleParamChange (double date, double value)
 Standard constructor. More...
 
double value () const
 Gets the parameter value.
 
void value (double value)
 Sets the parameter value.
 
- Public Member Functions inherited from Change
 Change ()
 Default constructor. More...
 
 Change (double date)
 Standard constructor. More...
 
double date () const
 Gets the event date value.
 
void date (double value)
 Sets the event date value.
 
virtual void apply (ParamSet *paramSet, Controller *controller) const =0
 Applies the event. More...
 

Protected Attributes

unsigned int _population
 
- Protected Attributes inherited from SingleParamChange
double _value
 
- Protected Attributes inherited from Change
double _date
 

Detailed Description

Single parameter changes applied to a single population.

Constructor & Destructor Documentation

Default constructor.

The default date is 0., the default parameter value is 0., the default population is 0

PopulationParamChange ( double  date,
unsigned int  population,
double  value 
)

Standard constructor.

Parameters
datethe event date.
populationthe population index.
valuethe parameter value.

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

Hosted by 
Get EggLib at SourceForge.net. Fast, secure and Free Open Source software downloads