protected void initializePhase(int w){
  Arrays.fill(committedWorkers,false);
  Arrays.fill(parentWorkerByCommittedJob,-1);
  committedWorkers[w]=true;
  for (int j=0; j < dim; j++) {
    minSlackValueByJob[j]=costMatrix[w][j] - labelByWorker[w] - labelByJob[j];
    minSlackWorkerByJob[j]=w;
  }
}

protected void initializePhase ( int w ) { Arrays . fill ( committedWorkers , false ) ; Arrays . fill ( parentWorkerByCommittedJob , - 1 ) ; committedWorkers [ w ] = true ; for ( int j = 0 ; j < dim ; j ++ ) { minSlackValueByJob [ j ] = costMatrix [ w ] [ j ] - labelByWorker [ w ] - labelByJob [ j ] ; minSlackWorkerByJob [ j ] = w ; } }
initialize the next phase of the algorithm by clearing the committed workers and jobs sets and by initializing the slack arrays to the values corresponding to the specified root worker .
