git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2377 331e1502-861f-0410-8da2-ba01fb791d7f

This commit is contained in:
boufaras 2011-09-14 13:51:03 +00:00
commit 5b4e485cd6
6 changed files with 10 additions and 230 deletions

View file

@ -91,14 +91,14 @@ void main_function(int argc, char **argv)
unsigned seed = seedParam.value();
// description of genotype
eoValueParam<unsigned int> vecSizeParam(100, "vecSize", "Genotype size", 'V');
/*eoValueParam<unsigned int> vecSizeParam(100, "vecSize", "Genotype size", 'V');
parser.processParam( vecSizeParam, "Representation" );
unsigned vecSize = vecSizeParam.value();
unsigned vecSize = vecSizeParam.value();*/
//Number of position to change
eoValueParam<unsigned int> nbPosParam(1, "nbPos", "X Change", 'N');
/* eoValueParam<unsigned int> nbPosParam(1, "nbPos", "X Change", 'N');
parser.processParam( nbPosParam, "Exchange" );
unsigned nbPos = nbPosParam.value();
unsigned nbPos = nbPosParam.value();*/
// the name of the "status" file where all actual parameter values will be saved
string str_status = parser.ProgramName() + ".status"; // default value
@ -131,7 +131,7 @@ void main_function(int argc, char **argv)
*
* ========================================================= */
solution sol(vecSize);
solution sol(SIZE);
/* =========================================================
*
@ -147,7 +147,7 @@ void main_function(int argc, char **argv)
*
* ========================================================= */
unsigned long int sizeMap=sizeMapping(vecSize,NB_POS);
unsigned long int sizeMap=sizeMapping(SIZE,NB_POS);
OneMaxIncrEval<Neighbor> incr_eval;
moGPUMappingEvalByModif<Neighbor,OneMaxIncrEval<Neighbor> > cueval(sizeMap,incr_eval);