Package org.opt4j.optimizers.ea.aeseh
Class EpsilonMappingAdditive
java.lang.Object
org.opt4j.optimizers.ea.aeseh.EpsilonMappingAdditive
- All Implemented Interfaces:
EpsilonMapping
The
EpsilonMappingAdditive implements the evenly spaced adaptive ε
function.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindObjectiveAmplitudes(Set<Individual> individuals) Creates a map mapping theObjectives to their amplitudes (difference between maximal and minimal value).mapObjectives(Objectives original, double epsilon, Map<Objective, Double> objectiveAmplitudes) Applies ε mapping by enhancing all of the givenObjectives by the ε fraction of the objective amplitude.
-
Constructor Details
-
EpsilonMappingAdditive
public EpsilonMappingAdditive()
-
-
Method Details
-
mapObjectives
public Objectives mapObjectives(Objectives original, double epsilon, Map<Objective, Double> objectiveAmplitudes) Applies ε mapping by enhancing all of the givenObjectives by the ε fraction of the objective amplitude.- Specified by:
mapObjectivesin interfaceEpsilonMapping- Parameters:
original- theObjectivesthat are enhanced by this methodepsilon- the fraction used for the enhancementobjectiveAmplitudes- the map mapping its objective onto its amplitude- Returns:
- enhanced
Objectiveswhere eachObjectiveis improved by the ε fraction of the objective's amplitude
-
findObjectiveAmplitudes
Description copied from interface:EpsilonMappingCreates a map mapping theObjectives to their amplitudes (difference between maximal and minimal value). These extreme values are used during ε mapping to scale the delta according to the objective values of theIndividualgroup under consideration.- Specified by:
findObjectiveAmplitudesin interfaceEpsilonMapping- Parameters:
individuals-- Returns:
- map mapping each
Objectiveonto its amplitude
-