bertrand.mesot at epfl.ch
Fri Mar 5 04:20:46 EST 2004
I take the opportunity to mention the following thing that somehow
corrects my previous post.
Actually, moving the whole definitions of the functions allele() and
allele(unsigned int i) does not seem necessary, just declaring those
functions is enough.
Thus adding the following lines after "typedef
GA1DArrayAlleleGenome<float> GARealGenome;" in GARealGenome.h:
float GAAlleleSet<float>::allele() const;
float GAAlleleSet<float>::allele(unsigned int i) const;
should work better than moving the whole definitions into the .h file --it is at least cleaner.
More information about the galib