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

Pure virtual base class for parameter changes. More...

#include <ChangeTypes.hpp>

Inheritance diagram for Change:
PopulationFusion PopulationSplit SingleParamChange AllMigrationRateChange AllPopulationSizeChange Bottleneck GrowthRateChange PopulationParamChange SelfingRateChange SingleMigrationRateChange PopulationBottleneck PopulationGrowthRateChange SinglePopulationSizeChange

Public Member Functions

 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

double _date
 

Detailed Description

Pure virtual base class for parameter changes.

Constructor & Destructor Documentation

Change ( )

Default constructor.

The default date is 0.

Change ( double  date)

Standard constructor.

Parameters
datethe event date.

Member Function Documentation

virtual void apply ( ParamSet paramSet,
Controller controller 
) const
pure virtual

Applies the event.

Parameters
paramSetthe ParamSet instance to which the Change instance is attached.
controllerthe Controller instance of the simulation.

Implemented in SingleMigrationRateChange, AllMigrationRateChange, PopulationSplit, PopulationFusion, SelfingRateChange, PopulationGrowthRateChange, GrowthRateChange, SinglePopulationSizeChange, AllPopulationSizeChange, PopulationBottleneck, and Bottleneck.


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