* removed rho parameter and replaced it by popsize

This commit is contained in:
Caner Candan 2010-08-25 19:15:32 +02:00
commit b017a0eb46
2 changed files with 5 additions and 2 deletions

View file

@ -10,6 +10,7 @@ LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
SET(RESOURCES
eda_sa.param
plot.py
plot_on_ggobi.py
)
FOREACH(file ${RESOURCES})

View file

@ -135,9 +135,11 @@ int main(int ac, char** av)
// FIXME: should I set the default value of rho to pop size ?!?
unsigned int rho = parser.createParam((unsigned int)0, "rho", "Rho: metropolis sample size", 'p', section).value(); // p
// unsigned int rho = parser.createParam((unsigned int)0, "rho", "Rho: metropolis sample size", 'p', section).value(); // p
moGenSolContinue< EOT >* sa_continue = new moGenSolContinue< EOT >(rho);
unsigned int popSize = parser.getORcreateParam((unsigned int)20, "popSize", "Population Size", 'P', "Evolution Engine").value();
moGenSolContinue< EOT >* sa_continue = new moGenSolContinue< EOT >( popSize );
state.storeFunctor(sa_continue);
//-----------------------------------------------------------------------------