mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-28 08:44:50 +00:00
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:
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));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user