scale.annot
Enum Support.Rule

java.lang.Object
  extended by java.lang.Enum<Support.Rule>
      extended by scale.annot.Support.Rule
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Support.Rule>
Enclosing class:
Support

public static enum Support.Rule
extends java.lang.Enum<Support.Rule>

The combining rule specifies how the user and system belief values will be combined.


Enum Constant Summary
Optimistic
          Use whichever value represents the more optimistic belief.
Pessimistic
          Use whichever value represents the more pessimistic belief.
StrongestSystem
          Use whichever value represents the strongest belief.
StrongestUser
          Use whichever value represents the strongest belief.
System
          Use the system's value.
User
          Use the user's value
 
Method Summary
static Support.Rule valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Support.Rule[] 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

StrongestSystem

public static final Support.Rule StrongestSystem
Use whichever value represents the strongest belief. In the case of a tie, use the system's value. Strength is the distance from neutral


StrongestUser

public static final Support.Rule StrongestUser
Use whichever value represents the strongest belief. In the case of a tie, use the user's value.


System

public static final Support.Rule System
Use the system's value.


User

public static final Support.Rule User
Use the user's value


Optimistic

public static final Support.Rule Optimistic
Use whichever value represents the more optimistic belief.


Pessimistic

public static final Support.Rule Pessimistic
Use whichever value represents the more pessimistic belief.

Method Detail

values

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

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

valueOf

public static Support.Rule 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