Job function ( ) { Job loc0 ; if ( Time == 0 ) { selectAlgorithm ( ) ; } loc0 = myAlgorithm . nextStep ( Time ) ; if ( myAlgorithm . isFinished ( ) ) { Finished = true ; } return loc0 ; }
let the selected algorithm finish a step concode_field_sep boolean Finished concode_elem_sep boolean Stoped concode_elem_sep MyAlgorithm myAlgorithm concode_elem_sep int Time concode_elem_sep int Quantum concode_elem_sep String AlgorithmType concode_field_sep Queue getReadyQueue concode_elem_sep void reset concode_elem_sep void selectAlgorithm