public class Percolation extends Object
| Constructor and Description |
|---|
Percolation() |
| Modifier and Type | Method and Description |
|---|---|
static boolean[][] |
flow(boolean[][] open) |
static void |
flow(boolean[][] open,
boolean[][] full,
int i,
int j) |
static void |
main(String[] args) |
static boolean |
percolates(boolean[][] open) |
static boolean[][] |
random(int N,
double p) |
static void |
show(boolean[][] a,
boolean which) |
public static boolean[][] flow(boolean[][] open)
public static void flow(boolean[][] open,
boolean[][] full,
int i,
int j)
public static boolean percolates(boolean[][] open)
public static void show(boolean[][] a,
boolean which)
public static boolean[][] random(int N,
double p)
public static void main(String[] args)
Copyright © 2014. All Rights Reserved.