cc.mallet.grmm.test
Class TestFactorGraph

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by cc.mallet.grmm.test.TestFactorGraph
All Implemented Interfaces:
junit.framework.Test

public class TestFactorGraph
extends junit.framework.TestCase

Created: Mar 17, 2005

Version:
$Id: TestFactorGraph.java,v 1.1 2007/10/22 21:37:40 mccallum Exp $
Author:
Constructor Summary
TestFactorGraph(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
           
static junit.framework.Test suite()
           
 void testAllFactorsOf()
           
 void testAllFactorsOf2()
           
 void testAsTable()
           
 void testAsTable2()
           
 void testCacheExpanding()
           
 void testClear()
           
 void testContinousSample()
           
 void testContinousSample2()
           
 void testEmbeddedFactorGraph()
           
 void testLogNormalize()
           
 void testLogTableTimesFg()
           
 void testMarginalize()
           
 void testMultiply()
           
 void testMultiplyBy()
           
 void testNormalize()
           
 void testNumVariables()
           
 void testRedundantDomains()
           
 void testRemove()
           
 void testSum()
           
 void testTableTimesFg()
           
 void testValue()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestFactorGraph

public TestFactorGraph(java.lang.String name)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testMultiplyBy

public void testMultiplyBy()

testNumVariables

public void testNumVariables()

testMultiply

public void testMultiply()

testValue

public void testValue()

testMarginalize

public void testMarginalize()

testSum

public void testSum()

testNormalize

public void testNormalize()

testLogNormalize

public void testLogNormalize()

testEmbeddedFactorGraph

public void testEmbeddedFactorGraph()

testAsTable

public void testAsTable()

testTableTimesFg

public void testTableTimesFg()

testLogTableTimesFg

public void testLogTableTimesFg()

testRemove

public void testRemove()

testRedundantDomains

public void testRedundantDomains()

testContinousSample

public void testContinousSample()
                         throws java.io.IOException
Throws:
java.io.IOException

testContinousSample2

public void testContinousSample2()
                          throws java.io.IOException
Throws:
java.io.IOException

testAllFactorsOf

public void testAllFactorsOf()
                      throws java.io.IOException
Throws:
java.io.IOException

testAllFactorsOf2

public void testAllFactorsOf2()
                       throws java.io.IOException
Throws:
java.io.IOException

testAsTable2

public void testAsTable2()

testClear

public void testClear()

testCacheExpanding

public void testCacheExpanding()

suite

public static junit.framework.Test suite()

main

public static void main(java.lang.String[] args)
                 throws java.lang.Throwable
Throws:
java.lang.Throwable