Introduction
Density-Based Spatial Clustering of Applications with Noise (or DBSCAN) is an algorithm used in cluster analysis which is described in Wikipedia.
The basic idea of cluster analysis is to partition a set of points into clusters which have some relationship to each other. In the case of DBSCAN the user chooses the minimum number of points required to form a cluster and the maximum distance between points in each cluster. Each point is then considered in turn, along with its neighbours, and allocated to a cluster.
I was recently asked if I could implement this algorithm in C# as there appears to be no other implementation which is freely available.
The source code is listed below in case it is of interest to anyone else involved in this specialized field.
Source Code
Output
![DBSCASN]()