Skip to main content

percolates

Function percolates 

Source
pub fn percolates(grid: &PercolationGrid) -> bool
Expand description

Check if the grid percolates (there exists a cluster spanning from top to bottom).