Extension of the Hoshen-Kopelman Algorithm to a Non-lattice Environment

by Ahmed Al-Futaisi, Tadeusz W. Patzek
Year: 2003


Al-Futaisi, A. and Patzek, T. W., “Extension of the Hoshen-Kopelman Algorithm to a Non-lattice Environment,” Physica A, 321 3-4 665-678, 2003.


We extend the Hoshen–Kopelman (HK) algorithm for cluster labeling to non-lattice environments, where sites are placed at random at non-lattice points. This extension is useful for continuum systems and disordered networks. Our extension of the HK algorithm relies on several data structures that describe network connectivity regardless of its dimensionality. Just as for the classic HK algorithm on lattices, our extension is completed in a single pass through the sites of the network and cluster relabeling operates on a vector whose size is much smaller than the size of the network. Our extension of the HK algorithm works for any environment (lattice or non-lattice) of any dimensionality, type (sites, bonds or both), and with arbitrary connectivity between the sites. The proposed extension is illustrated through a simple network consisting of 16 sites and 24 bonds, and applied to a complex network extracted from a 3D micro-focused X-ray CT image of Bentheimer sandstone consisting of 3677 sites and 8952 bonds.


Cluster Labeling Hoshen–Kopelman Algorithm Non-lattice Disordered Networks Continuum Systems