Skip to content

Instantly share code, notes, and snippets.

@Runemoro
Last active August 15, 2019 07:20
Show Gist options
  • Save Runemoro/393695aef584afc4423f34b1c6f82ba4 to your computer and use it in GitHub Desktop.
Save Runemoro/393695aef584afc4423f34b1c6f82ba4 to your computer and use it in GitHub Desktop.
ArrayLevelPropagator lp = new ArrayLevelPropagator(10, 10, 10);
9 9 9 9 9 9 9 9 9 9
9 9 9 9 9 9 9 9 9 9
9 9 9 9 9 9 9 9 9 9
9 9 9 9 9 9 9 9 9 9
9 9 9 9 9 9 9 9 9 9
9 9 9 9 9 9 9 9 9 9
9 9 9 9 9 9 9 9 9 9
9 9 9 9 9 9 9 9 9 9
9 9 9 9 9 9 9 9 9 9
9 9 9 9 9 9 9 9 9 9
lp.lower(5, 5, 4);
9 9 9 9 9 9 9 9 9 9
9 8 8 8 8 8 8 8 8 8
9 8 7 7 7 7 7 7 7 8
9 8 7 6 6 6 6 6 7 8
9 8 7 6 5 5 5 6 7 8
9 8 7 6 5 4 5 6 7 8
9 8 7 6 5 5 5 6 7 8
9 8 7 6 6 6 6 6 7 8
9 8 7 7 7 7 7 7 7 8
9 8 8 8 8 8 8 8 8 8
lp.lower(2, 2, 5);
7 7 7 7 7 8 9 9 9 9
7 6 6 6 7 8 8 8 8 8
7 6 5 6 7 7 7 7 7 8
7 6 6 6 6 6 6 6 7 8
7 7 7 6 5 5 5 6 7 8
8 8 7 6 5 4 5 6 7 8
9 8 7 6 5 5 5 6 7 8
9 8 7 6 6 6 6 6 7 8
9 8 7 7 7 7 7 7 7 8
9 8 8 8 8 8 8 8 8 8
lp.reset(2, 2);
9 9 9 9 9 9 9 9 9 9
9 8 8 8 8 8 8 8 8 8
9 8 7 7 7 7 7 7 7 8
9 8 7 6 6 6 6 6 7 8
9 8 7 6 5 5 5 6 7 8
9 8 7 6 5 4 5 6 7 8
9 8 7 6 5 5 5 6 7 8
9 8 7 6 6 6 6 6 7 8
9 8 7 7 7 7 7 7 7 8
9 8 8 8 8 8 8 8 8 8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