Changed the default values for popsize, vecsize and maxgen so
the user has a chance to see something even on Pentium 10GHz :-)
This commit is contained in:
parent
9dbb516d8b
commit
562b0b63e3
1 changed files with 4 additions and 4 deletions
|
|
@ -47,12 +47,12 @@ void main_function(int argc, char **argv)
|
||||||
unsigned seed = seedParam.value();
|
unsigned seed = seedParam.value();
|
||||||
|
|
||||||
// description of genotype
|
// description of genotype
|
||||||
eoValueParam<unsigned int> vecSizeParam(8, "vecSize", "Genotype size",'V');
|
eoValueParam<unsigned int> vecSizeParam(100, "vecSize", "Genotype size",'V');
|
||||||
parser.processParam( vecSizeParam, "Representation" );
|
parser.processParam( vecSizeParam, "Representation" );
|
||||||
unsigned vecSize = vecSizeParam.value();
|
unsigned vecSize = vecSizeParam.value();
|
||||||
|
|
||||||
// parameters for evolution engine
|
// parameters for evolution engine
|
||||||
eoValueParam<unsigned int> popSizeParam(10, "popSize", "Population size",'P');
|
eoValueParam<unsigned int> popSizeParam(100, "popSize", "Population size",'P');
|
||||||
parser.processParam( popSizeParam, "Evolution engine" );
|
parser.processParam( popSizeParam, "Evolution engine" );
|
||||||
unsigned popSize = popSizeParam.value();
|
unsigned popSize = popSizeParam.value();
|
||||||
|
|
||||||
|
|
@ -65,11 +65,11 @@ void main_function(int argc, char **argv)
|
||||||
parser.processParam( loadNameParam, "Persistence" );
|
parser.processParam( loadNameParam, "Persistence" );
|
||||||
string loadName = loadNameParam.value();
|
string loadName = loadNameParam.value();
|
||||||
|
|
||||||
eoValueParam<unsigned int> maxGenParam(100, "maxGen", "Maximum number of generations",'G');
|
eoValueParam<unsigned int> maxGenParam(500, "maxGen", "Maximum number of generations",'G');
|
||||||
parser.processParam( maxGenParam, "Stopping criterion" );
|
parser.processParam( maxGenParam, "Stopping criterion" );
|
||||||
unsigned maxGen = maxGenParam.value();
|
unsigned maxGen = maxGenParam.value();
|
||||||
|
|
||||||
eoValueParam<unsigned int> minGenParam(100, "minGen", "Minimum number of generations",'g');
|
eoValueParam<unsigned int> minGenParam(500, "minGen", "Minimum number of generations",'g');
|
||||||
parser.processParam( minGenParam, "Stopping criterion" );
|
parser.processParam( minGenParam, "Stopping criterion" );
|
||||||
unsigned minGen = minGenParam.value();
|
unsigned minGen = minGenParam.value();
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue