Class ParetoDomination

java.lang.Object
org.opt4j.core.domination.ParetoDomination
All Implemented Interfaces:
DominationStrategy

public class ParetoDomination extends Object implements DominationStrategy
The DominationStrategy Pareto-Domination.
See Also:
  • Constructor Details

    • ParetoDomination

      public ParetoDomination()
  • Method Details

    • dominates

      public boolean dominates(Objectives o1, Objectives o2)
      Checks two Objectives for domination. The dominance relation is Pareto-Domination.
      Specified by:
      dominates in interface DominationStrategy
      Parameters:
      o1 - the objectives to check
      o2 - the objectives to compare with
      Returns:
      true, if o1 dominates o2
      false, otherwise
    • dominates

      public boolean dominates(double[] va, double[] vb)
      Parameters:
      va - array of objective values
      vb - array of objective values
      Returns:
      true, if va dominates vb,
      false, otherwise
    • weaklyDominates

      public boolean weaklyDominates(Objectives o1, Objectives o2)
      Checks two Objectives for weak domination. The dominance relation is Pareto-Domination.
      Specified by:
      weaklyDominates in interface DominationStrategy
      Parameters:
      o1 - the objectives to check
      o2 - the objectives to compare with
      Returns:
      true, if o1 weakly dominates o2
      false, otherwise
    • weaklyDominates

      public boolean weaklyDominates(double[] va, double[] vb)
      Parameters:
      va - array of objective values
      vb - array of objective values
      Returns:
      true, if va weakly dominates vb,
      false, otherwise