de.dfki.mycbr.core.similarity.config
Enum AmalgamationConfig

java.lang.Object
  extended by java.lang.Enum<AmalgamationConfig>
      extended by de.dfki.mycbr.core.similarity.config.AmalgamationConfig
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AmalgamationConfig>

public enum AmalgamationConfig
extends java.lang.Enum<AmalgamationConfig>

Enumerates the modes which can be used for amalgamation during similarity computations. Used in AmalgamationFct to compute similarity for concepts.

Author:
myCBR Team

Enum Constant Summary
EUCLIDEAN
           
MAXIMUM
           
MINIMUM
           
WEIGHTED_SUM
           
 
Method Summary
static AmalgamationConfig valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AmalgamationConfig[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MINIMUM

public static final AmalgamationConfig MINIMUM

MAXIMUM

public static final AmalgamationConfig MAXIMUM

WEIGHTED_SUM

public static final AmalgamationConfig WEIGHTED_SUM

EUCLIDEAN

public static final AmalgamationConfig EUCLIDEAN
Method Detail

values

public static AmalgamationConfig[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AmalgamationConfig c : AmalgamationConfig.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AmalgamationConfig valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null