1#include "../ECF_base.h" 
    9    myGenotype_->registerParameter(state, 
"crx.uniform", (voidP) 
new double(0), ECF::DOUBLE);
 
   15    voidP sptr = 
myGenotype_->getParameterValue(state, 
"crx.uniform");
 
   27    for(uint i = 0; i < p1->bits.size(); i++){
 
   28        if (p1->bits[i] == p2->bits[i]) 
 
   29            ch->bits[i] = p1->bits[i];
 
   31            ch->bits[i] = state_->getRandomizer()->getRandomInteger(2) ? 
true:
false;
 
BitString class - implements genotype as a series of bits.
 
double probability_
probability of usage of this crossover operator
 
GenotypeP myGenotype_
pointer to the Genotype that defines this CrossoverOp