be.ac.ulg.montefiore.run.jahmm
Enum ForwardBackwardCalculator.Computation

java.lang.Object
  extended by java.lang.Enum<ForwardBackwardCalculator.Computation>
      extended by be.ac.ulg.montefiore.run.jahmm.ForwardBackwardCalculator.Computation
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ForwardBackwardCalculator.Computation>
Enclosing class:
ForwardBackwardCalculator

public static enum ForwardBackwardCalculator.Computation
extends java.lang.Enum<ForwardBackwardCalculator.Computation>

Flags used to explain how the observation sequence probability should be computed (either forward, using the alpha array, or backward, using the beta array).


Enum Constant Summary
ALPHA
           
BETA
           
 
Method Summary
static ForwardBackwardCalculator.Computation valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ForwardBackwardCalculator.Computation[] 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

ALPHA

public static final ForwardBackwardCalculator.Computation ALPHA

BETA

public static final ForwardBackwardCalculator.Computation BETA
Method Detail

values

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

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

valueOf

public static ForwardBackwardCalculator.Computation 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


Copyright © 2004,2005 Jean-Marc François.