#include <genetics.h>
Inheritance diagram for Genome:
Public Methods | |
void | addking () |
int | getkings () const |
virtual void | init () |
virtual void | print (TextOStream &out) const |
virtual void | addPrivateGenes (Gentainer &g, const StringMap &pars) |
virtual DataOStream & | operator>> (DataOStream &out) const |
virtual void | check () const |
Protected Attributes | |
int | kings |
Typically the top level genstructs within the genome are recombined uniformly, to represent the independet assorment of chromosomes in biological genomes.
Definition at line 533 of file genetics.h.
|
Adds one score for an phenotype of this genome having scored the kinghood. Useful only in elitist models. Definition at line 549 of file genetics.h. References kings. Referenced by Individual::addking(). |
|
Implementation for Genstruct.
Reimplemented from Gentainer. Reimplemented in DiploidGenome. Definition at line 436 of file genetics.cc. References Gentainer::addPrivateGenes(). Referenced by SimplePopulation::SimplePopulation(). |
|
Implementation for Object.
Reimplemented from Gentainer. Definition at line 450 of file genetics.cc. References Gentainer::check(), and kings. Referenced by Individual::check(). |
|
Returns the number of kinghoods attained so far. Useful only in elitist models. Definition at line 554 of file genetics.h. References kings. Referenced by Individual::getkings(). |
|
Implementation for Genstruct.
Reimplemented from Gentainer. Reimplemented in DiploidGenome. Definition at line 431 of file genetics.cc. References Gentainer::init(), and kings. Referenced by Individual::init(). |
|
Implementation for Object.
Reimplemented from Gentainer. Definition at line 444 of file genetics.cc. References kings, and Gentainer::operator>>(). |
|
Implementation for Genstruct.
Reimplemented from Gentainer. Reimplemented in DiploidGenome. Definition at line 440 of file genetics.cc. References Gentainer::print(). Referenced by Individual::print(). |
|
How many times a phenotype of this genome has been the King of the Kang. Or King of the Jungle. Definition at line 539 of file genetics.h. Referenced by addking(), check(), getkings(), init(), and operator>>(). |