Changed MGE to the contrib dir. No need to change the prefix, I guess

This commit is contained in:
jmerelo 2001-05-17 10:08:25 +00:00
commit 17dc4f9d10
6 changed files with 81 additions and 14 deletions

View file

@ -33,7 +33,7 @@ int main()
eoPop<Chrom> pop;
// Evaluation
RoyalRoad<Chrom> rr( 4 );
RoyalRoad<Chrom> rr( 8 );
eoEvalFuncCounter<Chrom> eval( rr );
eoInitVirus<float> random(CHROM_SIZE, gen);
@ -58,10 +58,10 @@ int main()
eoUBitXover<Chrom> xover;
eoProportionalOp<Chrom> propSel;
eoGeneralBreeder<Chrom> breeder( lottery, propSel );
propSel.add(vm, 0.8);
propSel.add(vm, 0.1);
propSel.add(vf, 0.05);
propSel.add(vt, 0.05);
propSel.add(xover, 0.1);
propSel.add(xover, 0.8);
// Replace a single one
eoCommaReplacement<Chrom> replace;