test of logp method , of class hmm . concode_field_sep double[] pi concode_elem_sep double[][] b concode_elem_sep double[][] a concode_field_sep void testNumStates concode_elem_sep void setUpClass concode_elem_sep void testPredict2 concode_elem_sep void testLearn concode_elem_sep void testPredict3 concode_elem_sep void tearDownClass concode_elem_sep void testP_intArr concode_elem_sep void tearDown concode_elem_sep void testLearn2 concode_elem_sep void testGetStateTransitionProbabilities concode_elem_sep void testP_intArr2 concode_elem_sep void testNumSymbols concode_elem_sep void setUp concode_elem_sep void testLogp_intArr_intArr concode_elem_sep void testGetSymbolEmissionProbabilities concode_elem_sep void testP_intArr_intArr concode_elem_sep void testP_intArr_intArr2 concode_elem_sep void testPredict concode_elem_sep void testLogp_intArr2 concode_elem_sep void testGetInitialStateProbabilities concode_elem_sep void testLogp_intArr_intArr2
void function ( ) { System . out . println ( "srini_string" ) ; HMM loc0 = new HMM ( pi , a , b ) ; int [ ] loc1 = { 0 , 0 , 1 , 1 , 0 , 1 , 1 , 0 } ; double loc2 = - 5.609373 ; double loc3 = loc0 . logp ( loc1 ) ; assertEquals ( loc2 , loc3 , 1E-6 ) ; }