Research Article
Communication P Systems on Simplicial Complexes with Applications in Cluster Analysis
Algorithm 1
A self-joining clustering algorithm.
Inputs: , : similarity threshold value, are incident} | Outputs: : set of clusters, : number of clusters, : outliers | Begin | Set , , . | for to | If , then add into set . Otherwise add into set . For each , calculate | the similarity measure . If , then set the edge as active. In this case, set | if is still an empty set. | end | while do | (1) For each if there exists an active edge with , , then add into and | remove from . | (2) . | end | End |
|