* whitespace cleanup

This commit is contained in:
Caner Candan 2011-05-05 17:15:10 +02:00
commit 70e60a50d2
195 changed files with 1763 additions and 1873 deletions

View file

@ -47,13 +47,13 @@ int main()
// a chromosome randomizer
eoInitPermutation <Chrom> random(CHROM_SIZE);
// the population:
// the population:
eoPop<Chrom> pop;
// Evaluation
eoEvalFuncPtr<Chrom> eval( real_value );
for (i = 0; i < POP_SIZE; ++i)
{
Chrom chrom(CHROM_SIZE);
@ -61,10 +61,10 @@ int main()
eval(chrom);
pop.push_back(chrom);
}
// a shift mutation
eoShiftMutation <Chrom> shift;
for (i = 0; i < POP_SIZE; ++i)
{
std::cout << " Initial chromosome n°" << i << " : " << pop[i] << "..." << std::endl;
@ -72,7 +72,7 @@ int main()
std::cout << " ... becomes : " << pop[i] << " after shift mutation" << std::endl;
check_permutation(pop[i]);
}
return 0;
}