Struct mutation¶
Defined in File mutation.hpp
Inheritance Relationships¶
Base Type¶
public fwdpp::mutation_base(Struct mutation_base)
Struct Documentation¶
-
struct
fwdpp::mutation: public fwdpp::mutation_base¶ Mutations with selection, dominance, and tracking age of origin The “standard” mutation type for population genetic simulation. A mutation has its own selection and dominance coefficients.
Public Types
-
using
constructor_tuple= std::tuple<double, double, double, unsigned, std::uint16_t>¶ Alias for tuple type that can be used for object construction.
Public Functions
-
mutation(const double &__pos, const double &__s, const double &__h, const unsigned &__g, const std::uint16_t x = 0) noexcept¶ Constructor.
- Parameters
__pos: Mutation position__s: Selection coefficient__h: Dominance coefficient__g: Generation when mutation arosex: Value to assign to mutation_base::xtra
-
mutation(constructor_tuple t) noexcept¶ Construct from a tuple.
- Version
Added in fwdpp 0.5.7
- Parameters
t: Elements must be pos, s, h, g, x
-
using