added help
This commit is contained in:
parent
3c45141ba7
commit
11cdd38f24
1 changed files with 6 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue