Class MemoryEdaAlgorithm<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.MemoryEdaAlgorithm<G>
- All Implemented Interfaces:
Algorithm<G>
Memory-based dynamic EDA driver using EMA-smoothed improvement signal.
-
Constructor Summary
ConstructorsConstructorDescriptionMemoryEdaAlgorithm(double selectionRatio, double minRatio, double maxRatio, double memoryDecay, 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
-
MemoryEdaAlgorithm
public MemoryEdaAlgorithm(double selectionRatio, double minRatio, double maxRatio, double memoryDecay, double targetImprovement, double adjustmentStep)
-
-
Method Details
-
adaptRatio
protected void adaptRatio(double normalizedImprovement) - Specified by:
adaptRatioin classAdaptiveRatioEdaAlgorithm<G>
-