EvolvingObjects
eo1PtBitXover< Chrom > Class Template Reference
Inheritance diagram for eo1PtBitXover< Chrom >:
eoQuadOp< Chrom > eoOp< Chrom > eoBF< Chrom &, Chrom &, bool > eoFunctorBase binary_function

List of all members.

Public Member Functions

virtual std::string className () const
 The class name.
bool operator() (Chrom &chrom1, Chrom &chrom2)
 1-point crossover for binary chromosomes.

Detailed Description

template<class Chrom>
class eo1PtBitXover< Chrom >

Definition at line 297 of file eoBitOp.h.


Member Function Documentation

template<class Chrom>
bool eo1PtBitXover< Chrom >::operator() ( Chrom &  chrom1,
Chrom &  chrom2 
) [inline, virtual]

1-point crossover for binary chromosomes.

Parameters:
chrom1The first chromosome.
chrom2The first chromosome.

Implements eoBF< Chrom &, Chrom &, bool >.

Definition at line 308 of file eoBitOp.h.

References eoRng::random().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends