Class BatchClusteringTask
java.lang.Object
cz.fidentis.analyst.gui.task.batch.distanceheatmap.BatchClusteringTask
Handles the sorting of data with the clustering algorithms
-
Constructor Summary
ConstructorsConstructorDescriptionBatchClusteringTask
(String clusteringStrategy, double[][] distance, List<String> clusterNames) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
setClusterNames
(List<String> clusterNames) void
setDistances
(double[][] distances) void
setLinkageStrategy
(String clusteringStrategy) void
sortData()
Sorts given data through the chosen clustering strategy
-
Constructor Details
-
BatchClusteringTask
public BatchClusteringTask(String clusteringStrategy, double[][] distance, List<String> clusterNames) Constructor- Parameters:
clusteringStrategy
- name of chosen clustering strategy. Must not benull
distance
- distances between facesclusterNames
- names of faces being processed
-
-
Method Details
-
getSortedClusterNames
-
getRootNode
-
setLinkageStrategy
-
setDistances
public void setDistances(double[][] distances) -
setClusterNames
-
sortData
public void sortData()Sorts given data through the chosen clustering strategy -
printTimeStats
protected void printTimeStats()
-