mulan.classifier.neural
Enum MMPUpdateRuleType

java.lang.Object
  extended by java.lang.Enum<MMPUpdateRuleType>
      extended by mulan.classifier.neural.MMPUpdateRuleType
All Implemented Interfaces:
Serializable, Comparable<MMPUpdateRuleType>

public enum MMPUpdateRuleType
extends Enum<MMPUpdateRuleType>

The enumeration of update rules, which can be used by the MMPLearner to update its model in learning phase.

Version:
2012.02.27
Author:
Jozef Vilcek

Enum Constant Summary
MaxUpdate
          Indicates usage of maximum update rule
RandomizedUpdate
          Indicates usage of randomized update rule
UniformUpdate
          Indicates usage of uniform update rule
 
Method Summary
static MMPUpdateRuleType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MMPUpdateRuleType[] 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
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UniformUpdate

public static final MMPUpdateRuleType UniformUpdate
Indicates usage of uniform update rule


MaxUpdate

public static final MMPUpdateRuleType MaxUpdate
Indicates usage of maximum update rule


RandomizedUpdate

public static final MMPUpdateRuleType RandomizedUpdate
Indicates usage of randomized update rule

Method Detail

values

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

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

valueOf

public static MMPUpdateRuleType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null