Enum Class Measures

java.lang.Object
java.lang.Enum<Measures>
net.ssehub.easy.reasoning.sseReasoner.Measures
All Implemented Interfaces:
Serializable, Comparable<Measures>, Constable, net.ssehub.easy.reasoning.core.reasoner.IMeasurementKey

public enum Measures extends Enum<Measures> implements net.ssehub.easy.reasoning.core.reasoner.IMeasurementKey
The measures provided/supported by the SSE reasoner.
Author:
Holger Eichelberger
  • Enum Constant Details

    • VARIABLES_IN_CONSTRAINTS

      public static final Measures VARIABLES_IN_CONSTRAINTS
      Number of variables in constraints.
    • PROBLEM_CONSTRAINTS

      public static final Measures PROBLEM_CONSTRAINTS
      Number of constraints with evaluation problems.
    • PROBLEM_ASSIGNMENTS

      public static final Measures PROBLEM_ASSIGNMENTS
      Number of constraints with assignment problems.
  • Field Details

    • explanation

      private String explanation
  • Constructor Details

    • Measures

      private Measures(String explanation)
      Creates a measures constant.
      Parameters:
      explanation - the headline/explanation
  • Method Details

    • values

      public static Measures[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Measures valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getExplanation

      public String getExplanation()
      Specified by:
      getExplanation in interface net.ssehub.easy.reasoning.core.reasoner.IMeasurementKey
    • outputPos

      public int outputPos()
      Specified by:
      outputPos in interface net.ssehub.easy.reasoning.core.reasoner.IMeasurementKey