Template Struct binomial_point_t¶
Defined in File binomial_point.hpp
Inheritance Relationships¶
Base Type¶
public fwdpp::genetic_map_unit(Struct genetic_map_unit)
Struct Documentation¶
-
template<typename
T>
structfwdpp::binomial_point_t: public fwdpp::genetic_map_unit¶ Generate a breakpoint at a specific position with a given probability.
Public Functions
-
binomial_point_t(const T pos, const double pr)¶ - Parameters
pos: The breakpoint positionpr: The probability of a breakpoint
-
void
operator()(const gsl_rng *r, std::vector<double> &breakpoints) const final¶ - Note
Future revisions may change the return type to void and allow for a reusable vector.
-
std::unique_ptr<genetic_map_unit>
clone() const final¶ Clone object
- Return
std::unique_ptrto genetic_map_unit.
-