Bond percolation is a sub-area of graph theory and probability theory that studies the properties of random subgraphs that emerge when edges in specific graphs are
independently kept with some probability p. For specific graphs, there are certain values of p at which infinitely connected clusters suddenly appear. This is called
a graph's critical probability (denoted
While proving exact values for
| Lattice | Known |
Simulated |
|---|---|---|
| Triangle | 0.3287 | |
| Square ( |
0.4853 | |
| Cube ( |
0.2549 | |
| Complete Graph ( |
0.0274 | |
| Complete Graph ( |
0.0127 | |
| Complete Graph ( |
0.0076 |
You can read more about this topic in the final report this code was created for.
-
Simulates Bond Percolation: Runs simulations on finite 2D square, triangle, 3D cube, and complete graphs
-
Interactive Visualization: Includes interactive simulations to demonstrate the phase transition phenomenon where large components suddenly appear
-
Component Size Analysis: Records and averages the size of the connected component containing the origin as edge probability p varies
-
Interactive: Contains the code for interactive simulations such as
-
InteractiveGraph.pywhich simulates bond percolation on the square, triangle, and cube lattices, and -
CompleteGraphs.pywhich simulates bond percolations on a complete graph (a.k.a., the Erdős–Rényi model)
-
-
GenerateData: Contains scripts to simulate bond percolation on different lattices and generate
.csvfiles containing this data -
PlotEstimates: Contains scripts to plot calculated estimates alongside the known values of
$p_c$

