edu.stanford.nlp.classify
Enum LogPrior.LogPriorType

java.lang.Object
  extended by java.lang.Enum<LogPrior.LogPriorType>
      extended by edu.stanford.nlp.classify.LogPrior.LogPriorType
All Implemented Interfaces:
Serializable, Comparable<LogPrior.LogPriorType>
Enclosing class:
LogPrior

public static enum LogPrior.LogPriorType
extends Enum<LogPrior.LogPriorType>


Enum Constant Summary
ADAPT
           
COSH
           
HUBER
           
MULTIPLE_QUADRATIC
           
NULL
           
QUADRATIC
           
QUARTIC
           
 
Method Summary
static LogPrior.LogPriorType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LogPrior.LogPriorType[] 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

NULL

public static final LogPrior.LogPriorType NULL

QUADRATIC

public static final LogPrior.LogPriorType QUADRATIC

HUBER

public static final LogPrior.LogPriorType HUBER

QUARTIC

public static final LogPrior.LogPriorType QUARTIC

COSH

public static final LogPrior.LogPriorType COSH

ADAPT

public static final LogPrior.LogPriorType ADAPT

MULTIPLE_QUADRATIC

public static final LogPrior.LogPriorType MULTIPLE_QUADRATIC
Method Detail

values

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

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

valueOf

public static LogPrior.LogPriorType 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


Stanford NLP Group