Content deleted Content added
→top: clarify space |
|||
Line 1:
In the theory of [[cluster analysis]], the '''nearest-neighbor chain algorithm''' is
The main idea of the algorithm is to find pairs of clusters to merge by following paths in the [[nearest neighbor graph]] of the clusters until the paths terminate in pairs of mutual nearest neighbors. That pair of clusters is then chosen as the pair to merge by the algorithm. The algorithm uses a [[Stack (abstract data type)|stack]] to find and merge mutually nearest pairs of clusters efficiently.
|