Class LogClusterSizes

  • All Implemented Interfaces:
    Evaluator, ResultProcessor

    public class LogClusterSizes
    extends java.lang.Object
    implements Evaluator
    This class will log simple statistics on the clusters detected, such as the cluster sizes and the number of clusters.
    Since:
    0.7.0
    Author:
    Erich Schubert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static Logging LOG
      Class logger
      static java.lang.String PREFIX
      Prefix for logged statistics.
    • Constructor Summary

      Constructors 
      Constructor Description
      LogClusterSizes()  
    • Field Detail

      • LOG

        private static final Logging LOG
        Class logger
      • PREFIX

        public static final java.lang.String PREFIX
        Prefix for logged statistics.
    • Constructor Detail

      • LogClusterSizes

        public LogClusterSizes()
    • Method Detail

      • logClusterSizes

        public static <C extends Model> void logClusterSizes​(Clustering<C> c)
        Log the cluster sizes of a clustering.
        Parameters:
        c - Clustering ot analyze
      • processNewResult

        public void processNewResult​(java.lang.Object result)
        Description copied from interface: ResultProcessor
        Process a result.
        Specified by:
        processNewResult in interface ResultProcessor
        Parameters:
        result - Newly added result subtree.