Package algs15.perc

Class Percolation

java.lang.Object
algs15.perc.Percolation

public class Percolation extends Object
  • Field Details

    • N

      int N
    • open

      boolean[] open
  • Constructor Details

  • Method Details

    • open

      public void open(int i, int j)
    • isOpen

      public boolean isOpen(int i, int j)
    • isFull

      public boolean isFull(int i, int j)
    • percolates

      public boolean percolates()