singnet / asmoses

Port of MOSES (https://github.com/opencog/moses) for the AtomSpace (https://github.com/opencog/atomspace)
Other
6 stars 5 forks source link

Improve evaluation allocation when fraction of nearest neighbors is very low #120

Closed ngeiswei closed 4 years ago

ngeiswei commented 4 years ago

Port from https://github.com/opencog/moses/pull/95

  1. Avoid nonsensical situation when the maximum number of evaluations is allocated to a deme because fraction of nearest neighbors was set very low (like 0.001) with the intention of spreading evaluations across more demes.

  2. Make sure crossover does not produce more candidates than the maximum number of evaluations set by the user.