Enum Class GlobalParameters

java.lang.Object
java.lang.Enum<GlobalParameters>
de.uni_trier.wi2.procake.adaptation.manager.GlobalParameters
All Implemented Interfaces:
AlgorithmParameters, Serializable, Comparable<GlobalParameters>, Constable

public enum GlobalParameters extends Enum<GlobalParameters> implements AlgorithmParameters

GlobalParameters class.

  • Enum Constant Details

    • ADAPTATION_KNOWLEDGE_PATH

      public static final GlobalParameters ADAPTATION_KNOWLEDGE_PATH
      defines a path where adaptation algorithms can store and load generated adaptation knowledge.
    • ADAPTATION_SESSION_PATH

      public static final GlobalParameters ADAPTATION_SESSION_PATH
      defines a path where an adaptation session pool can be stored and loaded.
    • STORE_ADAPTATION_SESSION

      public static final GlobalParameters STORE_ADAPTATION_SESSION
      defines whether the generated adaptation sessions should be stored in a session pool. If false the pool won't be written to the given adaptation session path.
    • LOAD_ADAPTATION_KNOWLEDGE

      public static final GlobalParameters LOAD_ADAPTATION_KNOWLEDGE
      defines if stored adaptation knowledge can be read and reused by the adaptation algorithms. The file names have to contain the identical algorithm id.
    • STORE_ADAPTATION_KNOWLEDGE

      public static final GlobalParameters STORE_ADAPTATION_KNOWLEDGE
      defines whether the generated adaptation knowledge can be stored in the given path. If enabled, the file names will be named after the algorithms name and id
    • ALWAYS_EXECUTE_ALGORITHMS

      public static final GlobalParameters ALWAYS_EXECUTE_ALGORITHMS
      defines which algorithms should always be executed even if the initial similarity between a case workflow and the query is 1.0. Possible value is a comma-separated list of algorithm names defined in the config. The list has to be terminated with ;
    • ALGORITHM_INIT_ORDER

      public static final GlobalParameters ALGORITHM_INIT_ORDER
      defines the order in which the init methods of the defined algorithms are executed. Possible value is a comma-separated list of algorithm names and ids in the form algorithmName#algorithmID defined in the config. The list has to be terminated with ;
    • REMOVE_EQUAL_ADAPTATION_KNOWLEDGE

      public static final GlobalParameters REMOVE_EQUAL_ADAPTATION_KNOWLEDGE
      defines whether equal adaptation knowledge should be removed by the adaptation algorithms during the initialization process. Possible values are: false, semantic, syntactic
    • INTERNAL_SIMILARITY_MEASURE

      public static final GlobalParameters INTERNAL_SIMILARITY_MEASURE
      internal similarity measure that is used to determine appropriate adaptation steps
    • MAC_FAC_RETRIEVAL_FACTOR

      public static final GlobalParameters MAC_FAC_RETRIEVAL_FACTOR
      determines if MACFAC retrieval should be used or not and which factor for the reduction should be used
  • Method Details

    • values

      public static GlobalParameters[] 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 GlobalParameters 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
    • getName

      public String getName()

      getName.

      Specified by:
      getName in interface AlgorithmParameters
      Returns:
      name of the parameter
    • getDataType

      public Class<?> getDataType()

      getDataType.

      Specified by:
      getDataType in interface AlgorithmParameters
      Returns:
      the class type of the parameter
    • getDefaultValue

      public Object getDefaultValue()

      getDefaultValue.

      Specified by:
      getDefaultValue in interface AlgorithmParameters
      Returns:
      default value for the parameter