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 testLogp_intArr 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
void function ( ) { System . out . println ( "srini_string" ) ; String [ ] loc0 = { "srini_string" , "srini_string" } ; HMM < String > loc1 = new HMM < String > ( pi , a , b , loc0 ) ; String [ ] loc2 = { "srini_string" , "srini_string" , "srini_string" , "srini_string" , "srini_string" , "srini_string" , "srini_string" , "srini_string" } ; int [ ] loc3 = { 0 , 0 , 1 , 1 , 1 , 1 , 1 , 0 } ; double loc4 = - 9.51981 ; double loc5 = loc1 . logp ( loc2 , loc3 ) ; assertEquals ( loc4 , loc5 , 1E-5 ) ; }