Class AbstractRStarTree.Statistics

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Counter distanceCalcs
      For counting the number of distance computations.
      protected Counter knnQueries
      For counting the number of knn queries answered.
      protected Counter rangeQueries
      For counting the number of range queries answered.
    • Constructor Summary

      Constructors 
      Constructor Description
      Statistics()
      Constructor.
    • Field Detail

      • distanceCalcs

        protected final Counter distanceCalcs
        For counting the number of distance computations.
      • knnQueries

        protected final Counter knnQueries
        For counting the number of knn queries answered.
      • rangeQueries

        protected final Counter rangeQueries
        For counting the number of range queries answered.
    • Constructor Detail

      • Statistics

        public Statistics()
        Constructor.
    • Method Detail

      • countDistanceCalculation

        public void countDistanceCalculation()
        Count a distance computation.
      • countKNNQuery

        public void countKNNQuery()
        Count a knn query invocation.
      • countRangeQuery

        public void countRangeQuery()
        Count a range query invocation.
      • logStatistics

        public void logStatistics()
        Log the statistics.