question: decides which formula to apply based o the previous tide . concode_field_sep ArrayList<TidePrediction> predictions concode_field_sep void logError concode_elem_sep ArrayList<TidePrediction> getPredictionsMarks concode_elem_sep Float ihFuncAfterHighTide concode_elem_sep Float getTidePrediction concode_elem_sep Float ihFuncAfterLowTide
target: Float function ( Date arg0 , int arg1 ) { Float loc0 ; if ( predictions . get ( arg1 ) . getTideType ( ) == TIDE_TYPE . HIGH_TIDE ) { loc0 = ihFuncAfterHighTide ( arg1 , arg0 ) ; } else { loc0 = ihFuncAfterLowTide ( arg1 , arg0 ) ; } return loc0 ; }