Clear & update src

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2405 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
boufaras 2011-09-16 10:22:31 +00:00
commit 86d964ec1c

View file

@ -90,16 +90,6 @@ void main_function(int argc, char **argv)
parser.processParam( seedParam );
unsigned seed = seedParam.value();
// description of genotype
eoValueParam<unsigned int> vecSizeParam(100, "vecSize", "Genotype size", 'V');
parser.processParam( vecSizeParam, "Representation" );
unsigned vecSize = vecSizeParam.value();
//Number of position to change
eoValueParam<unsigned int> nbPosParam(1, "nbPos", "X Change", 'N');
parser.processParam( nbPosParam, "Exchange" );
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
eoValueParam<string> statusParam(str_status.c_str(), "status", "Status file");
@ -131,7 +121,7 @@ void main_function(int argc, char **argv)
*
* ========================================================= */
solution sol(vecSize);
solution sol(SIZE);
/* =========================================================
*
@ -147,7 +137,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;
moGPUMappingEvalByCpy<Neighbor,OneMaxIncrEval<Neighbor> > cueval(sizeMap,incr_eval);