frog
Class GestureHMMParameters

java.lang.Object
  extended by frog.GestureHMMParameters

public class GestureHMMParameters
extends Object

GestureHMMParameters is a simple record class for easier passing of GestureHMM parameters. It contains the number of hidden states as well as the training threshold for a GestureHMM. Though it is rather simple, it was built with the understanding that the modifiability of a GestureHMM could change upon further development, which could lead to the requirement of a more complex set of parameters.

Author:
Team Better Recognize

Constructor Summary
GestureHMMParameters()
          Constructs a set of GestureHMM parameters with default settings.
GestureHMMParameters(int ns, double tT)
          Constructs a set of GestureHMM parameters with a given number of states as well as a training threshold.
 
Method Summary
 int getNumStates()
          Accessor for the number of hidden states.
 double getTrainingThreshold()
          Accessor for the training threshold
 void setNumStates(int n)
          Sets the current number of HMM states (for use in training).
 void setTrainingThreshold(double n)
          Sets the current HMM training threshold (Baum-welch threshold, for use in training).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GestureHMMParameters

public GestureHMMParameters()
Constructs a set of GestureHMM parameters with default settings.


GestureHMMParameters

public GestureHMMParameters(int ns,
                            double tT)
Constructs a set of GestureHMM parameters with a given number of states as well as a training threshold.

Parameters:
ns - the number of hidden states
tT - the training threshold
Method Detail

getNumStates

public int getNumStates()
Accessor for the number of hidden states.

Returns:
the number of hidden states

getTrainingThreshold

public double getTrainingThreshold()
Accessor for the training threshold

Returns:
the training threshold

setNumStates

public void setNumStates(int n)
Sets the current number of HMM states (for use in training).

Parameters:
n - the number of HMM states.

setTrainingThreshold

public void setTrainingThreshold(double n)
Sets the current HMM training threshold (Baum-welch threshold, for use in training).

Parameters:
n - the HMM training threshold