edu.stanford.nlp.classify
Enum LogPrior.LogPriorType
java.lang.Object
java.lang.Enum<LogPrior.LogPriorType>
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>
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
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