Class BatchClusteringTask

java.lang.Object
cz.fidentis.analyst.gui.task.batch.distanceheatmap.BatchClusteringTask

public class BatchClusteringTask extends Object
Handles the sorting of data with the clustering algorithms
  • Constructor Details

    • BatchClusteringTask

      public BatchClusteringTask(String clusteringStrategy, double[][] distance, List<String> clusterNames)
      Constructor
      Parameters:
      clusteringStrategy - name of chosen clustering strategy. Must not be null
      distance - distances between faces
      clusterNames - names of faces being processed
  • Method Details

    • getSortedClusterNames

      public List<String> getSortedClusterNames()
    • getRootNode

      public ClusterNode getRootNode()
    • setLinkageStrategy

      public void setLinkageStrategy(String clusteringStrategy)
    • setDistances

      public void setDistances(double[][] distances)
    • setClusterNames

      public void setClusterNames(List<String> clusterNames)
    • sortData

      public void sortData()
      Sorts given data through the chosen clustering strategy
    • printTimeStats

      protected void printTimeStats()