Hoshen–Kopelman algorithm

This is an old revision of this page, as edited by Dssathe (talk | contribs) at 04:30, 11 September 2016 (Added introduction paragraph). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The Hoshen-Kopelman Algorithm is used for labeling clusters on a grid, where grid is a regular network of cells, where each cell may be “occupied” or “unoccupied”. This algorithm is based on well-known union-finding algorithm. The algorithm was originally described in “Percolation and cluster distribution. I. Cluster multiple labeling technique and critical concentration algorithm”[1] by J. Hoshen and R. Kopelman.

This template should only be used in the user namespace.This template should only be used in the user namespace.