public void printDispersionScores(TableName table, SnapshotOfRegionAssignmentFromMeta snapshot,
    int numRegions, FavoredNodesPlan newPlan, boolean simplePrint) {
    if (!this.targetTableSet.isEmpty() && !this.targetTableSet.contains(table)) {
      return;
    }
    AssignmentVerificationReport report = new AssignmentVerificationReport();
    report.fillUpDispersion(table, snapshot, newPlan);
    List<Float> dispersion = report.getDispersionInformation();
    if (simplePrint) {
      DecimalFormat df = new java.text.DecimalFormat("#.##");
      System.out.println("\tAvg dispersion score: " + df.format(dispersion.get(0))
        + " hosts;\tMax dispersion score: " + df.format(dispersion.get(1))
        + " hosts;\tMin dispersion score: " + df.format(dispersion.get(2)) + " hosts;");
    } else {
      LOG.info("For Table: " + table + " ; #Total Regions: " + numRegions
        + " ; The average dispersion score is " + dispersion.get(0));
    }
  }
Compares two plans and check whether the locality dropped or increased (prints the information
as a string) also prints the baseline locality
@param movesPerTable     - how many primary regions will move per table
@param regionLocalityMap - locality map from FS
@param newPlan           - new assignment plan
hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionPlacementMaintainer.java