Struct mutation

Inheritance Relationships

Base Type

Struct Documentation

struct fwdpp::mutation : public fwdpp::mutation_base

The simplest mutation type, adding just a selection coefficient and dominance to the interface.

Public Functions

mutation(const double &position, const double &sel_coeff, const double &dominance = 0.5) noexcept
bool operator==(const mutation &rhs) const

Public Members

double s

selection coefficient

double h

dominance coefficient