Ultra 0.9.4
Loading...
Searching...
No Matches
ultra::group_stat< I, F > Struct Template Reference

Public Member Functions

 group_stat (population_uid)
void add (const I &, const F &)
void merge (group_stat)

Public Attributes

population_uid uid
distribution< double > age {}
distribution< F > fitness {}
distribution< double > length {}
std::map< int, unsigned > crossover_type {}

Member Function Documentation

◆ add()

template<Individual I, Fitness F>
void group_stat::add ( const I & ind,
const F & f )

Adds a new individual to the pool used to calculate statistics.

Parameters
[in]indnew individual
[in]ffitness of the new individual

The documentation for this struct was generated from the following files: