edu.cmu.sphinx.linguist.acoustic.tiedstate.test
Class MixtureComponentTest

java.lang.Object
  extended by edu.cmu.sphinx.linguist.acoustic.tiedstate.test.MixtureComponentTest

public class MixtureComponentTest
extends java.lang.Object

Some tests which test the functionality of MixtureComponentts.

Currently testing is restricted to univariate gaussians. It should be extended to test highdimensional gaussians as well.


Constructor Summary
MixtureComponentTest()
           
 
Method Summary
 void setup()
           
 void testClone()
          Tests whether a MixtureComponents can be cloned (using deep copying).
 void testUnivariateDensity()
          Compute the density values of a sampled interval with an univariate MixtureComponent and compare values with the precomputed-computed ones.
 void testUnivariateMeanTransformation()
          Tests whether working with different types transformations works properly.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MixtureComponentTest

public MixtureComponentTest()
Method Detail

setup

public void setup()

testUnivariateDensity

public void testUnivariateDensity()
Compute the density values of a sampled interval with an univariate MixtureComponent and compare values with the precomputed-computed ones.


testUnivariateMeanTransformation

public void testUnivariateMeanTransformation()
Tests whether working with different types transformations works properly.


testClone

public void testClone()
               throws java.lang.CloneNotSupportedException
Tests whether a MixtureComponents can be cloned (using deep copying).

Throws:
java.lang.CloneNotSupportedException