public static void reset() { distMetric = -1; numPaths = -1; numSelectedDimensions = -1; Clustering.reset(); }
public static void reset() { distMetric = -1; clustVal = 0.0; numPaths = -1; numSelectedDimensions = -1; init = false; Clustering.reset(); }
public static List <PathCollection> DoDBSCAN(List <Path> paths, int distMetric_, float eps, int minPathsForCluster, int noise) { if (paths.Count == 0) { Console.WriteLine("No paths to cluster!"); return(null); } setDistMetric(distMetric_); Clustering.initWithPaths(paths, (numSelectedDimensions > 1) ? true : false); List <PathCollection> clusters = cluster(paths, System.Convert.ToDouble(eps), minPathsForCluster, noise); return(clusters); }