Struct shmodel

Struct Documentation

struct fwdpp::extensions::shmodel

Callback wrapper. Used to model distributions on effect sizes/selection coefficients (s) and dominance (h)

Public Functions

shmodel() = default

Default constructor useful in extension situations that don’t understand std::function

shmodel(std::function<double(const gsl_rng*)> sfxn, std::function<double(const gsl_rng*)> hfxn)

More efficient constructor for c++11-aware situations.

Public Members

std::function<double(const gsl_rng*)> s
std::function<double(const gsl_rng*)> h