7 #include <chromosome.h>
13 * Generation of given Chromosomes.
15 template < typename _Chromosome >
18 vector<_Chromosome> chromosomes;
23 Generation(vector<_Chromosome> chromosomes) {
24 this->chromosomes = chromosomes;
27 /** Copy constructor */
28 Generation(const Generation& generation)
29 : chromosomes(generation.get()) {
32 vector<_Chromosome> get() const {
33 return this->chromosomes;
36 Generation& operator=(const Generation& generation){
37 this->chromosomes = generation.get();
43 #endif /* __GENERATION_H */