fix(eoEvalFoundryEA): reorder members to avoid warning
This commit is contained in:
parent
fefb2af4dd
commit
22b74e9c07
1 changed files with 7 additions and 7 deletions
|
|
@ -71,13 +71,6 @@ public:
|
||||||
i_repl(foundry.replacements.index())
|
i_repl(foundry.replacements.index())
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
protected:
|
|
||||||
const size_t i_cont;
|
|
||||||
const size_t i_cros;
|
|
||||||
const size_t i_muta;
|
|
||||||
const size_t i_sele;
|
|
||||||
const size_t i_repl;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
/** Decode the high-level problem encoding as an array of indices.
|
/** Decode the high-level problem encoding as an array of indices.
|
||||||
|
|
@ -156,6 +149,13 @@ protected:
|
||||||
eoAlgoFoundryEA<SUB>& _foundry;
|
eoAlgoFoundryEA<SUB>& _foundry;
|
||||||
const typename EOT::Fitness _penalization;
|
const typename EOT::Fitness _penalization;
|
||||||
const size_t _pop_size;
|
const size_t _pop_size;
|
||||||
|
|
||||||
|
const size_t i_cont;
|
||||||
|
const size_t i_cros;
|
||||||
|
const size_t i_muta;
|
||||||
|
const size_t i_sele;
|
||||||
|
const size_t i_repl;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Helper function to instanciate an eoEvalFoundryEA without having to indicate the template for the sub-problem encoding.
|
/** Helper function to instanciate an eoEvalFoundryEA without having to indicate the template for the sub-problem encoding.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue