* removed rho parameter and replaced it by popsize
This commit is contained in:
parent
799a8f01f3
commit
b017a0eb46
2 changed files with 5 additions and 2 deletions
|
|
@ -10,6 +10,7 @@ LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
|
|||
SET(RESOURCES
|
||||
eda_sa.param
|
||||
plot.py
|
||||
plot_on_ggobi.py
|
||||
)
|
||||
|
||||
FOREACH(file ${RESOURCES})
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue