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
-
Method Summary
Modifier and TypeMethodDescriptionfindObjectiveAmplitudes
(Set<Individual> individuals) Creates a map mapping theObjective
s 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 givenObjective
s 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 givenObjective
s by the ε fraction of the objective amplitude.- Specified by:
mapObjectives
in interfaceEpsilonMapping
- Parameters:
original
- theObjectives
that are enhanced by this methodepsilon
- the fraction used for the enhancementobjectiveAmplitudes
- the map mapping its objective onto its amplitude- Returns:
- enhanced
Objectives
where eachObjective
is improved by the ε fraction of the objective's amplitude
-
findObjectiveAmplitudes
Description copied from interface:EpsilonMapping
Creates a map mapping theObjective
s 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 theIndividual
group under consideration.- Specified by:
findObjectiveAmplitudes
in interfaceEpsilonMapping
- Parameters:
individuals
-- Returns:
- map mapping each
Objective
onto its amplitude
-