heidmic / suprb

GNU General Public License v3.0
6 stars 3 forks source link

Add adaptive mutation for ES #129

Open RomanSraj opened 1 year ago

RomanSraj commented 1 year ago

Using HalfnormIncrease or UniformIncrease for mutation while using ES was causing issues with discovering new rules. Once a peak was reached (in terms of the fitness of a rule), following rules' fitness were quickly declining with each iteration.

This PR introduces an adaptive component to the mutation of ES with either HalfnormIncrease or UniformIncrease. Once a peak is reached and the rules' fitness begins to decrease, the mutation type switches from the original HalfnormIncrease or UniformIncrease to Normal.

RomanSraj commented 4 days ago

Add try catch to go into default mode if not OrderedBound