org.apache.ctakes.temporal.ae.feature.selection
Enum MutualInformationFeatureSelection.CombineScoreMethod

java.lang.Object
  extended by java.lang.Enum<MutualInformationFeatureSelection.CombineScoreMethod>
      extended by org.apache.ctakes.temporal.ae.feature.selection.MutualInformationFeatureSelection.CombineScoreMethod
All Implemented Interfaces:
com.google.common.base.Function<java.util.Map<?,java.lang.Double>,java.lang.Double>, java.io.Serializable, java.lang.Comparable<MutualInformationFeatureSelection.CombineScoreMethod>
Enclosing class:
MutualInformationFeatureSelection<OUTCOME_T>

public static enum MutualInformationFeatureSelection.CombineScoreMethod
extends java.lang.Enum<MutualInformationFeatureSelection.CombineScoreMethod>
implements com.google.common.base.Function<java.util.Map<?,java.lang.Double>,java.lang.Double>

Specifies how scores for each outcome should be combined/aggregated into a single score


Enum Constant Summary
AVERAGE
           
MAX
           
 
Method Summary
static MutualInformationFeatureSelection.CombineScoreMethod valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MutualInformationFeatureSelection.CombineScoreMethod[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
apply, equals
 

Enum Constant Detail

AVERAGE

public static final MutualInformationFeatureSelection.CombineScoreMethod AVERAGE

MAX

public static final MutualInformationFeatureSelection.CombineScoreMethod MAX
Method Detail

values

public static MutualInformationFeatureSelection.CombineScoreMethod[] 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 (MutualInformationFeatureSelection.CombineScoreMethod c : MutualInformationFeatureSelection.CombineScoreMethod.values())
    System.out.println(c);

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

valueOf

public static MutualInformationFeatureSelection.CombineScoreMethod 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