Skip to content

Commit

Permalink
Fixed cell output
Browse files Browse the repository at this point in the history
  • Loading branch information
jnidzwetzki committed Oct 31, 2018
1 parent 6ee9db9 commit ca6ff0f
Showing 1 changed file with 5 additions and 3 deletions.
Expand Up @@ -107,15 +107,17 @@ private void runExperiment(final CellGrid cellGrid) {
}

/**
* Calculate the result
* Calculate the result
* @param bboxes
* @param cellGrid
*/
private void calculateResult(final Map<Hyperrectangle, Integer> bboxes, final CellGrid cellGrid) {
System.out.println("# Calculating node results: " + cellGrid);

System.out.println("#Cell\tValues");
for(final int cellSize : bboxes.values()) {
System.out.format("%d%n", cellSize);

for(final Hyperrectangle cell : cellGrid.getAllCells()) {
System.out.format("%d%n", bboxes.get(cell));
}

System.out.println("");
Expand Down

0 comments on commit ca6ff0f

Please sign in to comment.