code: 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;
          }
      }
docs: 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.
  
  @param w
  the worker at which to root the next phase.