13#if !defined(VITA_ALPS_H)
28 [[nodiscard]]
unsigned allowed_age(
unsigned,
unsigned)
const;
29 [[nodiscard]]
unsigned max_age(
unsigned)
const;
31 template<
class T> [[nodiscard]]
bool aged(
const T &,
32 unsigned,
unsigned)
const;
65 unsigned l,
unsigned layers)
const
Parameters for the Age-Layered Population Structure (ALPS) paradigm.
double p_same_layer
We already have a parent (individual) from a layer, which is the probability that the second parent w...
bool aged(const T &, unsigned, unsigned) const
unsigned max_age(unsigned) const
unsigned age_gap
The maximum ages for age layers is monotonically increasing and different methods can be used for set...
unsigned allowed_age(unsigned, unsigned) const