de.uni_leipzig.cvk.data.cluster
Class ClusterAlgorithmKNN
java.lang.Object
de.uni_leipzig.cvk.data.cluster.ClusterAlgorithm
de.uni_leipzig.cvk.data.cluster.ClusterAlgorithmKNN
- All Implemented Interfaces:
- ClusterTableSettings
public class ClusterAlgorithmKNN
- extends ClusterAlgorithm
Is a ClusterAlgorithm
and an adapt for knn algorithm of BorderFlow
class.
Implements the clustering(String[], double, String, String, String, String)
method and overrides default available settings in abstract class.
-
-
Method Summary |
protected prefuse.data.Table |
clustering(java.lang.String[] seeds,
double threshold,
java.lang.String values_A,
java.lang.String values_B,
java.lang.String values_C,
java.lang.String values_D)
implemented abstract method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusterAlgorithmKNN
public ClusterAlgorithmKNN()
- Builds new available settings.
clustering
protected prefuse.data.Table clustering(java.lang.String[] seeds,
double threshold,
java.lang.String values_A,
java.lang.String values_B,
java.lang.String values_C,
java.lang.String values_D)
- implemented abstract method
- Specified by:
clustering
in class ClusterAlgorithm
- Parameters:
seeds
- selected nodes that will be used as seedsthreshold
- threshold is between 0 and 1 or -1 for all nodesvalues_A
- value of config_A arrayvalues_B
- value of config_B arrayvalues_C
- value of config_C arrayvalues_D
- value of config_D array
- Returns:
- table with one or more columns