factored out of storemove to be reused by anjinetscanningroshamboplayer concode_field_sep Random rand concode_elem_sep StepHourglassConnection hourglassConnection concode_elem_sep Logger logger concode_elem_sep int activationCycles concode_elem_sep double[] history concode_elem_sep AnjiNet net concode_elem_sep double[] previousResult concode_field_sep int calculateMove concode_elem_sep void storeMove concode_elem_sep String getAuthor concode_elem_sep int nextMove concode_elem_sep void reset concode_elem_sep void reset concode_elem_sep String toString concode_elem_sep String getPlayerId
void function ( double [ ] arg0 , int arg1 ) { for ( int loc0 = 3 ; loc0 < ( arg0 . length - 1 ) ; ++ loc0 ) arg0 [ loc0 - 3 ] = arg0 [ loc0 ] ; arg0 [ arg0 . length - 3 ] = ( arg1 == ROCK ) ? 1.0d : 0.0d ; arg0 [ arg0 . length - 2 ] = ( arg1 == PAPER ) ? 1.0d : 0.0d ; arg0 [ arg0 . length - 1 ] = ( arg1 == SCISSORS ) ? 1.0d : 0.0d ; }