Struct mutation_base¶
Defined in File mutation_base.hpp
Inheritance Relationships¶
Derived Type¶
public fwdpp::mutation(Struct mutation)
Struct Documentation¶
-
struct
fwdpp::mutation_base¶ Base class for mutations At minimum, a mutation must contain a position and a count in the population. You can derive from this class, for instance to add selection coefficients, counts in different sexes, etc.
- Note
See TutMut in md_md_policies for more detail on how to extend this type
Subclassed by fwdpp::mutation
Public Functions
-
mutation_base(const double &position, const bool &isneutral = true, const std::uint16_t x = 0) noexcept¶
-
~mutation_base() noexcept¶
-
mutation_base(mutation_base const&) = default¶
-
mutation_base(mutation_base&&) = default¶
-
mutation_base &
operator=(mutation_base const&) = default¶
-
mutation_base &
operator=(mutation_base&&) = default¶
-
bool
is_equal(const mutation_base &rhs) const¶