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

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

#include <ChangeTypes.hpp>

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

Public Member Functions

 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

double _value
 
- Protected Attributes inherited from Change
double _date
 

Detailed Description

Pure virtual base class for single parameter changes.

Constructor & Destructor Documentation

Default constructor.

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

SingleParamChange ( double  date,
double  value 
)

Standard constructor.

Parameters
datethe event date.
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