created with
NetLogo
view/download model file:
LatticePercolation.nlogo
Push the SETUP-LATTICE button once to activate a percentage p of the sites. Sites can only connect to those directly above, below, or left or right. They cannot connect diagonally.
The applet will then find the largest connected component, and mark its size, and the value of p on the plot with a black dot.
If you want to systematically vary p from 0 to 90%, then click the corresponding button. A red curve will show how the size of the giant component varies as p is varied.
Is there a
; Copyright 2008 by Lada Adamic.
;
; This model is licensed under a Creative Commons Attribution 3.0 License.
; http://creativecommons.org/licenses/by/3.0/
;
; You can refer to this model as:
; http://projects.si.umich.edu/netlearn/NetLogo4/LatticePercolation.html