Class Aggregator


  • public class Aggregator
    extends java.lang.Object
    Aggregate extrapolated network totals of hidden-service statistics by calculating statistics like the daily weighted interquartile mean. Also calculate simpler statistics like the number of reported statistics and the total network fraction of reporting relays.
    • Constructor Summary

      Constructors 
      Constructor Description
      Aggregator​(java.io.File statusDirectory, DocumentStore<ExtrapolatedHidServStats> extrapolatedHidServStatsStore, java.io.File hidservStatsCsvFile)
      Initializes a new aggregator object using the given directory, document store, and output file for results.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void aggregateHidServStats()
      Calculates aggregates for all extrapolated hidden-service statistics and writes them to the output file.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Aggregator

        public Aggregator​(java.io.File statusDirectory,
                          DocumentStore<ExtrapolatedHidServStats> extrapolatedHidServStatsStore,
                          java.io.File hidservStatsCsvFile)
        Initializes a new aggregator object using the given directory, document store, and output file for results.
    • Method Detail

      • aggregateHidServStats

        public void aggregateHidServStats()
        Calculates aggregates for all extrapolated hidden-service statistics and writes them to the output file.