Class AbstractRStarTree.Statistics
- java.lang.Object
-
- elki.index.tree.spatial.rstarvariants.AbstractRStarTree.Statistics
-
- Enclosing class:
- AbstractRStarTree<N extends AbstractRStarTreeNode<N,E>,E extends SpatialEntry,S extends RTreeSettings>
public class AbstractRStarTree.Statistics extends java.lang.Object
Class for tracking some statistics.- Author:
- Erich Schubert
-
-
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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
countDistanceCalculation()
Count a distance computation.void
countKNNQuery()
Count a knn query invocation.void
countRangeQuery()
Count a range query invocation.void
logStatistics()
Log the statistics.
-
-
-
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.
-
-
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.
-
-