Class DSEObjectives

java.lang.Object
org.opt4j.core.CriterionSet<org.opt4j.core.Objective>
org.opt4j.core.Objectives
de.uka.ipd.sdq.dsexplore.opt4j.representation.DSEObjectives
All Implemented Interfaces:
Iterable<Map.Entry<org.opt4j.core.Objective,org.opt4j.core.Value<?>>>

public class DSEObjectives extends org.opt4j.core.Objectives
  • Field Summary

    Fields inherited from class org.opt4j.core.Objectives

    constraints, dominationStrategy, feasible, map

    Fields inherited from class org.opt4j.core.CriterionSet

    array
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    DSEObjectives(org.opt4j.core.domination.DominationStrategy strategy)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addComputedAggregatedUsage(org.opt4j.core.Criterion o, org.palladiosimulator.solver.context.aggregatedUsageContext.ComputedAggregatedUsage computedAggregatedUsage)
     
    void
    addConfidence(org.opt4j.core.Criterion o, de.uka.ipd.sdq.statistics.estimation.ConfidenceInterval c)
     
    void
    addResult(org.opt4j.core.Objective o, IAnalysisResult result)
     
    void
    addResultDecoratorFor(org.opt4j.core.Criterion performance, org.palladiosimulator.analyzer.resultdecorator.ResultDecoratorRepository resultDecorator)
     
    void
    addValueForCriterion(org.opt4j.core.Criterion criterion, double d)
     
    org.opt4j.core.Objective
    get(org.opt4j.core.Value<?> value)
     
    org.palladiosimulator.solver.context.aggregatedUsageContext.ComputedAggregatedUsage
    getComputedAggregatedUsageFor(org.opt4j.core.Criterion o)
    May return null if no result decorator is available.
    de.uka.ipd.sdq.statistics.estimation.ConfidenceInterval
    getConfidenceIntervalForObjective(org.opt4j.core.Criterion o)
    Can be null
    Map<org.opt4j.core.Criterion,de.uka.ipd.sdq.statistics.estimation.ConfidenceInterval>
     
    org.palladiosimulator.analyzer.resultdecorator.ResultDecoratorRepository
    getResultDecoratorFor(org.opt4j.core.Criterion o)
    May return null if no result decorator is available.
    org.opt4j.core.Value<?>
    getValueForCriterion(org.opt4j.core.Criterion c)
     
    boolean
    hasComputedAggregatedUsageFor(org.opt4j.core.Criterion o)
    Returns whether a non-null result decorator for this Objective o is available
    boolean
    hasResultDecoratorFor(org.opt4j.core.Criterion o)
    Returns whether a non-null result decorator for this Objective o is available

    Methods inherited from class org.opt4j.core.Objectives

    add, add, add, add, addAll, array, distance, dominates, get, getConstraints, getDominationStrategy, getKeys, getValues, isEqual, isFeasible, iterator, setConstraints, setFeasible, size, submit, toString, weaklyDominates

    Methods inherited from class org.opt4j.core.CriterionSet

    add, distance, isEqual

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Constructor Details

    • DSEObjectives

      @Deprecated public DSEObjectives()
      Deprecated.
    • DSEObjectives

      @Inject public DSEObjectives(org.opt4j.core.domination.DominationStrategy strategy)
  • Method Details

    • addResult

      public void addResult(org.opt4j.core.Objective o, IAnalysisResult result)
    • get

      public org.opt4j.core.Objective get(org.opt4j.core.Value<?> value)
      Overrides:
      get in class org.opt4j.core.Objectives
    • getValueForCriterion

      public org.opt4j.core.Value<?> getValueForCriterion(org.opt4j.core.Criterion c)
    • addConfidence

      public void addConfidence(org.opt4j.core.Criterion o, de.uka.ipd.sdq.statistics.estimation.ConfidenceInterval c)
    • getConfidenceIntervals

      public Map<org.opt4j.core.Criterion,de.uka.ipd.sdq.statistics.estimation.ConfidenceInterval> getConfidenceIntervals()
      Returns:
      The Map of ConfidenceIntervals, which is not null, but may be empty.
    • getConfidenceIntervalForObjective

      public de.uka.ipd.sdq.statistics.estimation.ConfidenceInterval getConfidenceIntervalForObjective(org.opt4j.core.Criterion o)
      Can be null
      Parameters:
      o -
      Returns:
      The confidence interval for the given Objective or null if it does not exist.
    • addResultDecoratorFor

      public void addResultDecoratorFor(org.opt4j.core.Criterion performance, org.palladiosimulator.analyzer.resultdecorator.ResultDecoratorRepository resultDecorator)
    • getResultDecoratorFor

      public org.palladiosimulator.analyzer.resultdecorator.ResultDecoratorRepository getResultDecoratorFor(org.opt4j.core.Criterion o)
      May return null if no result decorator is available.
      Parameters:
      o -
      Returns:
    • hasResultDecoratorFor

      public boolean hasResultDecoratorFor(org.opt4j.core.Criterion o)
      Returns whether a non-null result decorator for this Objective o is available
      Parameters:
      o -
      Returns:
    • addComputedAggregatedUsage

      public void addComputedAggregatedUsage(org.opt4j.core.Criterion o, org.palladiosimulator.solver.context.aggregatedUsageContext.ComputedAggregatedUsage computedAggregatedUsage)
    • getComputedAggregatedUsageFor

      public org.palladiosimulator.solver.context.aggregatedUsageContext.ComputedAggregatedUsage getComputedAggregatedUsageFor(org.opt4j.core.Criterion o)
      May return null if no result decorator is available.
      Parameters:
      o -
      Returns:
    • hasComputedAggregatedUsageFor

      public boolean hasComputedAggregatedUsageFor(org.opt4j.core.Criterion o)
      Returns whether a non-null result decorator for this Objective o is available
      Parameters:
      o -
      Returns:
    • addValueForCriterion

      public void addValueForCriterion(org.opt4j.core.Criterion criterion, double d)