Vita
|
A single member of a population
.
More...
#include <individual.h>
Public Member Functions | |
unsigned | age () const |
void | inc_age () |
bool | load (std::istream &, const symbol_set &=symbol_set()) |
bool | save (std::ostream &) const |
Protected Member Functions | |
void | set_older_age (unsigned) |
Protected Attributes | |
hash_t | signature_ |
A single member of a population
.
Derived | the derived class in the CRTP |
Each individual contains a genome which represents a possible solution to the task being tackled (i.e. a point in the search space).
This class is the (nondependent CRTP) base class of every type of individual and factorizes out common code / data members.
Definition at line 40 of file individual.h.
|
mutableprotected |
Definition at line 61 of file individual.h.