Reject arms facing walls

- Honour the reject from the bank and head checks instead of dropping it in the max
- Remove the mouth suppression rule, which territories already make redundant
- Raise the meander scale to keep arms winding after the stricter rule
- Measure head walls and added steps across feature boundaries in the probe
- Pin rejects, cliffs in the band and close mouths with tests
This commit is contained in:
Brian Fopiano committed 2026-11-03 19:50:32 -05:00
1 parent 54aaf28987
commit f4cd64ee33
6 files changed
+137 -31

No files matched your search

@@ -59,4 +59,10 @@ public class TidalReachMetricsTest {
assertEquals(30D, TidalReachMetrics.steepestRise(new int[]{0, 0, 30, 30, 30, 30, 30}, 4), 0D);
assertEquals(4D, TidalReachMetrics.steepestRise(new int[]{0, 1, 2, 3, 4, 5, 6}, 4), 0D);
}
@Test
public void headWallNeedsTwoAdjacentRays() {
assertTrue(TidalReachMetrics.adjacentRaysAtLeast(new int[]{0, 16, 20, 0}, 16));
assertTrue(!TidalReachMetrics.adjacentRaysAtLeast(new int[]{16, 0, 20, 0}, 16));
}
}