void function ( double arg0 ) { double loc0 = pZero ; for ( int loc1 = 0 ; loc1 < n . length ; loc1 ++ ) { loc0 += ( n [ loc1 ] * p [ loc1 ] ) ; } double loc2 = 1.0 - loc0 ; if ( Math . abs ( loc2 ) > arg0 ) { throw new IllegalStateException ( "srini_string" + loc0 ) ; } }
ensures that we have a proper probability distribution . concode_field_sep int MIN_INPUT concode_elem_sep double CONFID_FACTOR concode_elem_sep double[] logZ concode_elem_sep double TOLERANCE concode_elem_sep double[] rStar concode_elem_sep int rows concode_elem_sep double pZero concode_elem_sep double slope concode_elem_sep int[] n concode_elem_sep double[] p concode_elem_sep int[] r concode_elem_sep int bigN concode_elem_sep double intercept concode_elem_sep double bigNPrime concode_elem_sep double[] z concode_elem_sep double[] logR concode_field_sep double[] getProbabilities concode_elem_sep void compute concode_elem_sep void print concode_elem_sep double smoothed concode_elem_sep double getProbabilityForUnseen concode_elem_sep void main concode_elem_sep int row concode_elem_sep int[][] readInput concode_elem_sep int[] integerList2IntArray concode_elem_sep void findBestFit concode_elem_sep double sq