Suppressed most warning (except some unused variables) if you don't modify anythig

This commit is contained in:
evomarc 2001-09-24 05:59:13 +00:00
commit 1d7b79b85a
2 changed files with 12 additions and 10 deletions

View file

@ -46,15 +46,16 @@ public:
*/
bool operator()(GenotypeT & _genotype)
{
bool isModified;
// START code for mutation of the _genotype object
/** Requirement
* if _genotype has been modified
* return true;
* otherwise
* return false;
* if (_genotype has been modified)
* isModified = true;
* else
* isModified = false;
*/
return isModified;
// END code for mutation of the _genotype object
}

View file

@ -48,15 +48,16 @@ public:
*/
bool operator()(GenotypeT& _genotype1, GenotypeT & _genotype2)
{
bool oneAtLeastIsModified;
// START code for crossover of _genotype1 and _genotype2 objects
/** Requirement
* if at least one genotype has been modified - no way to distinguish
* return true;
* otherwise
* return false;
* if (at least one genotype has been modified) // no way to distinguish
* oneAtLeastIsModified = true;
* else
* oneAtLeastIsModified = false;
*/
return oneAtLeastIsModified;
// END code for crossover of _genotype1 and _genotype2 objects
}