public class AbstractRStarTree.Statistics
extends java.lang.Object
Modifier and Type | Field and 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 and Description |
---|
Statistics()
Constructor.
|
Modifier and Type | Method and 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.
|
protected final Counter distanceCalcs
protected final Counter knnQueries
protected final Counter rangeQueries
public void countDistanceCalculation()
public void countKNNQuery()
public void countRangeQuery()
public void logStatistics()
Copyright © 2019 ELKI Development Team. License information.