ECF 1.5
|
Migration class - handles individual migration between demes. More...
#include <Migration.h>
Public Member Functions | |
bool | operate (StateP) |
bool | initialize (StateP) |
Perform initialization. Called before Operator::operate. By default, if the return value is false, the operator will not be used! More... | |
void | registerParameters (StateP) |
Register parameters with the Registry. Called before Operator::initialize. More... | |
Public Member Functions inherited from Operator | |
virtual bool | operate (StateP)=0 |
perform the designated operation More... | |
virtual bool | initialize (StateP) |
Perform initialization. Called before Operator::operate. By default, if the return value is false, the operator will not be used! More... | |
virtual void | registerParameters (StateP) |
Register parameters with the Registry. Called before Operator::initialize. More... | |
virtual void | write (XMLNode &) |
Write operator state to XMLNode or the Registry. Called after Operator::initialize. More... | |
virtual void | read (XMLNode &) |
Read operator state from XMLNode or the Registry. Called after Operator::initialize. More... | |
Protected Attributes | |
StateP | state_ |
uint | migFrequency_ |
uint | nEmigrants_ |
std::vector< SelectionOperatorP > | selOp_ |
Static Protected Attributes | |
static const int | BEST = 0 |
static const int | RANDOM = 1 |
Migration class - handles individual migration between demes.
Note: will be reimplemented to allow proprietary user-defined migration criteria.
Definition at line 10 of file Migration.h.
|
inlinevirtual |
Definition at line 32 of file Migration.h.
|
virtual |
Perform initialization. Called before Operator::operate. By default, if the return value is false, the operator will not be used!
Reimplemented from Operator.
Definition at line 21 of file Migration.cpp.
|
virtual |
Performs migration with current parameters:
Implements Operator.
Definition at line 60 of file Migration.cpp.
|
virtual |
Register parameters with the Registry. Called before Operator::initialize.
Reimplemented from Operator.
Definition at line 9 of file Migration.cpp.
|
staticprotected |
Definition at line 17 of file Migration.h.
|
protected |
Definition at line 14 of file Migration.h.
|
protected |
Definition at line 15 of file Migration.h.
|
staticprotected |
Definition at line 18 of file Migration.h.
|
protected |
Definition at line 16 of file Migration.h.
|
protected |
Definition at line 13 of file Migration.h.