Class EpsilonMappingAdditive

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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 Objectives 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 Objectives by the ε fraction of the objective amplitude.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EpsilonMappingAdditive

        public EpsilonMappingAdditive()
    • Method Detail

      • mapObjectives

        public 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 Objectives by the ε fraction of the objective amplitude.
        Specified by:
        mapObjectives in interface EpsilonMapping
        Parameters:
        original - the Objectives that are enhanced by this method
        epsilon - the fraction used for the enhancement
        objectiveAmplitudes - the map mapping its objective onto its amplitude
        Returns:
        enhanced Objectives where each Objective is improved by the ε fraction of the objective's amplitude
      • findObjectiveAmplitudes

        public java.util.Map<org.opt4j.core.Objective,​java.lang.Double> findObjectiveAmplitudes​(java.util.Set<org.opt4j.core.Individual> individuals)
        Description copied from interface: EpsilonMapping
        Creates a map mapping the Objectives 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.
        Specified by:
        findObjectiveAmplitudes in interface EpsilonMapping
        Returns:
        map mapping each Objective onto its amplitude