Ajout du moHillClimberSampling, et ajout des méthodes init dans les stats ;)
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1787 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
26055cda7f
commit
c46fac7da4
9 changed files with 330 additions and 12 deletions
|
|
@ -70,7 +70,7 @@ void main_function(int argc, char **argv)
|
|||
parser.processParam( vecSizeParam, "Representation" );
|
||||
unsigned vecSize = vecSizeParam.value();
|
||||
|
||||
// the number of steps of the random walk
|
||||
// the number of solution sampled
|
||||
eoValueParam<unsigned int> solParam(100, "nbSol", "Number of random solution", 'n');
|
||||
parser.processParam( solParam, "Representation" );
|
||||
unsigned nbSol = solParam.value();
|
||||
|
|
@ -135,8 +135,8 @@ void main_function(int argc, char **argv)
|
|||
|
||||
// sampling object :
|
||||
// - random initialization
|
||||
// - local search to sample the search space
|
||||
// - one statistic to compute
|
||||
// - fitness function
|
||||
// - number of solutions to sample
|
||||
moDensityOfStatesSampling<Neighbor> sampling(random, fullEval, nbSol);
|
||||
|
||||
/* =========================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue