public class EpsilonMappingAdditive extends java.lang.Object implements EpsilonMapping
EpsilonMappingAdditive
implements the evenly spaced adaptive ε
function.Constructor and Description |
---|
EpsilonMappingAdditive() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<org.opt4j.core.Objective,java.lang.Double> |
findObjectiveAmplitudes(java.util.Set<org.opt4j.core.Individual> individuals)
Creates a map mapping the
Objective s to their amplitudes (difference between
maximal and minimal value). |
org.opt4j.core.Objectives |
mapObjectives(org.opt4j.core.Objectives original,
double epsilon,
java.util.Map<org.opt4j.core.Objective,java.lang.Double> objectiveAmplitudes)
Applies ε mapping by enhancing all of the given
Objective s by the
ε fraction of the objective amplitude. |
public org.opt4j.core.Objectives mapObjectives(org.opt4j.core.Objectives original, double epsilon, java.util.Map<org.opt4j.core.Objective,java.lang.Double> objectiveAmplitudes)
Objective
s by the
ε fraction of the objective amplitude.mapObjectives
in interface EpsilonMapping
original
- the Objectives
that are enhanced by this methodepsilon
- the fraction used for the enhancementobjectiveAmplitudes
- the map mapping its objective onto its amplitudeObjectives
where each Objective
is
improved by the ε fraction of the objective's amplitudepublic java.util.Map<org.opt4j.core.Objective,java.lang.Double> findObjectiveAmplitudes(java.util.Set<org.opt4j.core.Individual> individuals)
EpsilonMapping
Objective
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 the Individual
group
under consideration.findObjectiveAmplitudes
in interface EpsilonMapping
Objective
onto its amplitude