Enum Class CAFSemantics

java.lang.Object
java.lang.Enum<CAFSemantics>
org.tweetyproject.arg.caf.semantics.CAFSemantics
All Implemented Interfaces:
Serializable, Comparable<CAFSemantics>, Constable

public enum CAFSemantics extends Enum<CAFSemantics>
This enum lists all semantics for Constrained Argumentation Frameworks.
Author:
Sandra Hoffmann
  • Enum Constant Details

  • Field Details

    • CAF_GROUNDED_SEMANTICS

      public static final CAFSemantics CAF_GROUNDED_SEMANTICS
      Static constants for grounded semantics
    • CAF_STABLE_SEMANTICS

      public static final CAFSemantics CAF_STABLE_SEMANTICS
      Static constants for stable semantics
    • CAF_PREFERRED_SEMANTICS

      public static final CAFSemantics CAF_PREFERRED_SEMANTICS
      Static constants for preferred semantics
    • CAF_ADMISSIBLE_SEMANTICS

      public static final CAFSemantics CAF_ADMISSIBLE_SEMANTICS
      Static constants for admissible semantics
  • Method Details

    • values

      public static CAFSemantics[] 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 CAFSemantics 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
    • description

      public String description()
      Returns the description of the semantics.
      Returns:
      the description of the semantics.
    • abbreviation

      public String abbreviation()
      Returns the abbreviation of the semantics.
      Returns:
      the abbreviation of the semantics.
    • getSemantics

      public static CAFSemantics getSemantics(String abbreviation)
      Returns the semantics whose abbreviation matches the given string.
      Parameters:
      abbreviation - Abbreviation of the semantics to return.
      Returns:
      Semantics with the specified abbreviation.