Enum Class GlobalParameters
- All Implemented Interfaces:
AlgorithmParameters
,Serializable
,Comparable<GlobalParameters>
,Constable
GlobalParameters class.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptiondefines a path where adaptation algorithms can store and load generated adaptation knowledge.defines a path where an adaptation session pool can be stored and loaded.defines the order in which the init methods of the defined algorithms are executed.defines which algorithms should always be executed even if the initial similarity between a case workflow and the query is 1.0.internal similarity measure that is used to determine appropriate adaptation stepsdefines if stored adaptation knowledge can be read and reused by the adaptation algorithms.determines if MACFAC retrieval should be used or not and which factor for the reduction should be useddefines whether equal adaptation knowledge should be removed by the adaptation algorithms during the initialization process.defines whether the generated adaptation knowledge can be stored in the given path.defines whether the generated adaptation sessions should be stored in a session pool. -
Method Summary
Modifier and TypeMethodDescriptionClass<?>
getDataType.getDefaultValue.getName()
getName.static GlobalParameters
Returns the enum constant of this class with the specified name.static GlobalParameters[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADAPTATION_KNOWLEDGE_PATH
defines a path where adaptation algorithms can store and load generated adaptation knowledge. -
ADAPTATION_SESSION_PATH
defines a path where an adaptation session pool can be stored and loaded. -
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
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
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
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
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 formalgorithmName#algorithmID
defined in the config. The list has to be terminated with;
-
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
internal similarity measure that is used to determine appropriate adaptation steps -
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
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
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 nameNullPointerException
- if the argument is null
-
getName
getName.
- Specified by:
getName
in interfaceAlgorithmParameters
- Returns:
- name of the parameter
-
getDataType
getDataType.
- Specified by:
getDataType
in interfaceAlgorithmParameters
- Returns:
- the class type of the parameter
-
getDefaultValue
getDefaultValue.
- Specified by:
getDefaultValue
in interfaceAlgorithmParameters
- Returns:
- default value for the parameter
-