FlowShop function ( int arg0 , int arg1 ) { List < Task > loc0 = new ArrayList < Task > ( taskList ) ; Task loc1 = loc0 . get ( arg0 ) ; loc0 . remove ( loc1 ) ; loc0 . add ( arg1 , loc1 ) ; return new FlowShop ( loc0 ) ; }
puts element from old position to new position . elements on right have now index + 1 concode_field_sep List<Task> taskList concode_field_sep List<Integer> getTaskOrder concode_elem_sep FlowShop sortDescending concode_elem_sep Double makeSpan concode_elem_sep Double makeSpan concode_elem_sep Double makeSpan concode_elem_sep int getMachineCount concode_elem_sep FlowShop clone concode_elem_sep void main concode_elem_sep String toString concode_elem_sep List<Task> getTaskList concode_elem_sep Integer getTaskCount concode_elem_sep Task getTask concode_elem_sep FlowShop moveInPlace concode_elem_sep void addTask