double function ( int arg0 ) { int loc0 = arg0 / 10 ; Double loc1 = chain . get ( loc0 ) ; if ( loc1 == null ) { return 0.0 ; } else { return loc1 ; } }
predicts attendance by looking at the previous days attendance concode_field_sep Map<Integer,Double> chain concode_elem_sep boolean attend concode_field_sep void updatePredictions concode_elem_sep boolean isAttending concode_elem_sep double predictAttendance concode_elem_sep void updateAttendance concode_elem_sep void updateProbs