added help

This commit is contained in:
maartenkeijzer 2001-03-16 14:19:11 +00:00
commit 11cdd38f24

View file

@ -171,6 +171,12 @@ void the_main(int argc, char* argv[])
// the algo
eoEasyEA<eoDouble> ea(cp, eval, breeder, replace);
if (parser.userNeedsHelp())
{
parser.printHelp(cout);
return;
}
apply<eoDouble>(eval, pop);
ea(pop);
}