Class SlidingWindowEdaAlgorithm<G>
java.lang.Object
com.knezevic.edaf.v3.core.api.AbstractEdaAlgorithm<G>
com.knezevic.edaf.v3.algorithms.dynamic.AdaptiveRatioEdaAlgorithm<G>
com.knezevic.edaf.v3.algorithms.dynamic.SlidingWindowEdaAlgorithm<G>
- All Implemented Interfaces:
Algorithm<G>
Dynamic EDA driver that adapts selection pressure over a sliding improvement window.
-
Constructor Summary
ConstructorsConstructorDescriptionSlidingWindowEdaAlgorithm(double selectionRatio, double minRatio, double maxRatio, int windowSize, double targetImprovement, double adjustmentStep) -
Method Summary
Methods inherited from class com.knezevic.edaf.v3.algorithms.dynamic.AdaptiveRatioEdaAlgorithm
afterIteration, clamp, id, ratio, selectionSize, setRatioMethods inherited from class com.knezevic.edaf.v3.core.api.AbstractEdaAlgorithm
complete, evaluateGenotype, initialize, iterate, postProcessPopulation, restoreState, result, run, state
-
Constructor Details
-
SlidingWindowEdaAlgorithm
public SlidingWindowEdaAlgorithm(double selectionRatio, double minRatio, double maxRatio, int windowSize, double targetImprovement, double adjustmentStep)
-
-
Method Details
-
adaptRatio
protected void adaptRatio(double normalizedImprovement) - Specified by:
adaptRatioin classAdaptiveRatioEdaAlgorithm<G>
-