feat add cache management to forges
- Disabled by default, because dangerous on statefull operators. - More doc.
This commit is contained in:
parent
78b0aed928
commit
13d62d0445
2 changed files with 72 additions and 10 deletions
|
|
@ -85,6 +85,11 @@ class eoAlgoFoundryEA : public eoAlgoFoundry<EOT>
|
|||
eoAlgoFoundryEA( eoPopEvalFunc<EOT>& eval, size_t max_gen ) :
|
||||
eoAlgoFoundry<EOT>(5),
|
||||
index_of(),
|
||||
continuators(true), // Always re-instanciate continuators, because they hold a state.
|
||||
crossovers(false),
|
||||
mutations(false),
|
||||
selectors(false),
|
||||
replacements(false),
|
||||
_eval(eval),
|
||||
_max_gen(max_gen)
|
||||
{ }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue