Happy-Algorithms-League / hal-cgp

Cartesian genetic programming (CGP) in pure Python.
GNU General Public License v3.0
28 stars 10 forks source link

Allow setting absolute values for hurdles #343

Closed jakobj closed 2 years ago

jakobj commented 2 years ago

Currently we only allow users to specify the percentage of individuals which passes through hurdles. However, for some use cases it may be convenient to specify an absolute value. This could potentially be interpreted as a form of curriculum learning in which additional objectives are only encountered by individuals who successfully solve the first one.

jakobj commented 2 years ago

since such a "hurdle" only requires knowledge of the current individual, this can be easily implemented via a condition in the objective function.

closing.