Typedef fwdpp::traits::fitness_fxn

Typedef Documentation

using fwdpp::traits::fitness_fxn = traits::internal::fitness_fxn<DiploidContainerType, GenomeContainerType, MutationContainerType>

Defines a struct with a single member typedef called type. If type is void, then one or more of DiploidContainerType, GenomeContainerType, and/or MutationContainerType are not valid input types for a fitness function. Otherwise, type will evaluate to std::function<void(const DiploidContainerType::value_type,const GenomeContainerType,const MutationContainerType)>