calhoun.analysis.crf.test
Class Interval13BaselineTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by calhoun.util.AbstractTestCase
              extended by calhoun.analysis.crf.test.Interval13BaselineTest
All Implemented Interfaces:
junit.framework.Test

public class Interval13BaselineTest
extends AbstractTestCase


Constructor Summary
Interval13BaselineTest()
           
 
Method Summary
 void compareTwoEquivalentModelsTrainTestSameData(java.lang.String fileModel1, java.lang.String fileModel2, java.lang.String fileData)
           
 void compareTwoEquivalentModelsTrainTestSameData(java.lang.String fileModel1, java.lang.String fileModel2, java.lang.String fileData, double tolerance)
           
 void test2()
           
 void test3()
           
 void testInference()
           
 void testMarkovModelWithMarkovTrainingTestingVsSemiMarkovCPDTrainingTesting()
           
 void testReadingBaselineXMLConfigFile()
           
 void testReadingSSBaselineCPDXMLConfigFile()
           
 void testSemiMarkovCommandLine()
           
 void testTrainingAndInferenceCacheProcessorCompare()
           
 void testTrainingAndInferenceMarkovVsSemiMarkov()
           
 void testUntiedModel()
           
 
Methods inherited from class calhoun.util.AbstractTestCase
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertBeginsWith, assertEndsWith, assertEquals, assertFilesMatch, assertFlatFileRecordsMatch, assertStringEquals, assertStringEquals, assertXmlFilesMatch, runBare
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, setName, 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Interval13BaselineTest

public Interval13BaselineTest()
Method Detail

testUntiedModel

public void testUntiedModel()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testSemiMarkovCommandLine

public void testSemiMarkovCommandLine()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testInference

public void testInference()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testTrainingAndInferenceMarkovVsSemiMarkov

public void testTrainingAndInferenceMarkovVsSemiMarkov()
                                                throws java.lang.Exception
Throws:
java.lang.Exception

testTrainingAndInferenceCacheProcessorCompare

public void testTrainingAndInferenceCacheProcessorCompare()
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

testMarkovModelWithMarkovTrainingTestingVsSemiMarkovCPDTrainingTesting

public void testMarkovModelWithMarkovTrainingTestingVsSemiMarkovCPDTrainingTesting()
                                                                            throws java.lang.Exception
Throws:
java.lang.Exception

test2

public void test2()
           throws java.lang.Exception
Throws:
java.lang.Exception

test3

public void test3()
           throws java.lang.Exception
Throws:
java.lang.Exception

testReadingBaselineXMLConfigFile

public void testReadingBaselineXMLConfigFile()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testReadingSSBaselineCPDXMLConfigFile

public void testReadingSSBaselineCPDXMLConfigFile()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

compareTwoEquivalentModelsTrainTestSameData

public void compareTwoEquivalentModelsTrainTestSameData(java.lang.String fileModel1,
                                                        java.lang.String fileModel2,
                                                        java.lang.String fileData)
                                                 throws java.io.IOException
Throws:
java.io.IOException

compareTwoEquivalentModelsTrainTestSameData

public void compareTwoEquivalentModelsTrainTestSameData(java.lang.String fileModel1,
                                                        java.lang.String fileModel2,
                                                        java.lang.String fileData,
                                                        double tolerance)
                                                 throws java.io.IOException
Throws:
java.io.IOException