#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 |
Definition at line 382 of file eoBitOp.h.
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 >.