de.jstacs.sequenceScores.statisticalModels.trainable.discrete.inhomogeneous
Enum StructureLearner.ModelType

java.lang.Object
  extended by java.lang.Enum<StructureLearner.ModelType>
      extended by de.jstacs.sequenceScores.statisticalModels.trainable.discrete.inhomogeneous.StructureLearner.ModelType
All Implemented Interfaces:
Serializable, Comparable<StructureLearner.ModelType>
Enclosing class:
StructureLearner

public static enum StructureLearner.ModelType
extends Enum<StructureLearner.ModelType>

This enum defines the different types of models that can be learned with the StructureLearner.

Author:
Jens Keilwagen

Enum Constant Summary
BN
          This value indicates that the model should compute a Bayesian network (BN).
IMM
          This value indicates that the model is an inhomogeneous Markov model (iMM).
PMM
          This value indicates that the model should compute a permuted Markov model (pMM).
 
Method Summary
static StructureLearner.ModelType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static StructureLearner.ModelType[] 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

IMM

public static final StructureLearner.ModelType IMM
This value indicates that the model is an inhomogeneous Markov model (iMM).


PMM

public static final StructureLearner.ModelType PMM
This value indicates that the model should compute a permuted Markov model (pMM).


BN

public static final StructureLearner.ModelType BN
This value indicates that the model should compute a Bayesian network (BN).

Method Detail

values

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

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

valueOf

public static StructureLearner.ModelType 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