|
EvolvingObjects
|
eoBitGxOver --> Npts crossover when bistd::string considered as a std::string of binary-encoded genes (exchanges genes) Is anybody still using it apart from historians ??? :-) More...
#include <ga/eoBitOp.h>
Public Member Functions | |
| eoBitGxOver (const unsigned _gene_size, const unsigned _num_points=2) | |
| Constructor. | |
| virtual std::string | className () const |
| The class name. | |
| bool | operator() (Chrom &chrom1, Chrom &chrom2) |
| Gene crossover for binary chromosomes. | |
Private Attributes | |
| unsigned | gene_size |
| unsigned | num_points |
eoBitGxOver --> Npts crossover when bistd::string considered as a std::string of binary-encoded genes (exchanges genes) Is anybody still using it apart from historians ??? :-)
| bool eoBitGxOver< Chrom >::operator() | ( | Chrom & | chrom1, |
| Chrom & | chrom2 | ||
| ) | [inline, virtual] |
Gene crossover for binary chromosomes.
| chrom1 | The first chromosome. |
| chrom2 | The first chromosome. |
Implements eoBF< Chrom &, Chrom &, bool >.
Definition at line 458 of file eoBitOp.h.
References eoRng::random().