Template Struct poisson_point_t¶
Defined in File poisson_point.hpp
Inheritance Relationships¶
Base Type¶
public fwdpp::genetic_map_unit(Struct genetic_map_unit)
Struct Documentation¶
-
template<typename
T>
structfwdpp::poisson_point_t: public fwdpp::genetic_map_unit¶ Generate a breakpoint at a position if a Poisson deviate is odd.
Public Functions
-
poisson_point_t(const T pos, const double m)¶ - Parameters
pos: Breakpoint positionm: The mean of a Poisson distribution
-
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.
-