public class TreePerformanceStats extends PerformanceStats
m_CoordCount, m_MaxC, m_MaxP, m_MinC, m_MinP, m_PointCount, m_SumC, m_SumP, m_SumSqC, m_SumSqP
Constructor and Description |
---|
TreePerformanceStats()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Enumeration<java.lang.String> |
enumerateMeasures()
Returns an enumeration of the additional measure names.
|
int |
getMaxIntNodesVisited()
returns the maximum of internal nodes visited.
|
int |
getMaxLeavesVisited()
Returns the maximum number of leaves visited.
|
double |
getMeanIntNodesVisited()
Returns the mean of internal nodes visited.
|
double |
getMeanLeavesVisited()
Returns the mean of number of leaves visited.
|
double |
getMeasure(java.lang.String additionalMeasureName)
Returns the value of the named measure.
|
int |
getMinIntNodesVisited()
Returns the minimum of internal nodes visited.
|
int |
getMinLeavesVisited()
Returns the minimum number of leaves visited.
|
java.lang.String |
getRevision()
Returns the revision string.
|
java.lang.String |
getStats()
Returns a string representation of the statistics.
|
double |
getStdDevIntNodesVisited()
Returns the standard deviation of internal nodes visited.
|
double |
getStdDevLeavesVisited()
Returns the standard deviation of leaves visited.
|
int |
getTotalIntNodesVisited()
Returns the total number of internal nodes visited.
|
int |
getTotalLeavesVisited()
Returns the total number of leaves visited.
|
void |
incrIntNodeCount()
Increments the internal node count.
|
void |
incrLeafCount()
Increments the leaf count.
|
void |
reset()
Resets all internal fields/counters.
|
void |
searchFinish()
Signals end of the nearest neighbour search.
|
void |
searchStart()
Signals start of the nearest neighbour search.
|
getMaxCoordsPerPoint, getMaxPointsVisited, getMeanCoordsPerPoint, getMeanPointsVisited, getMinCoordsPerPoint, getMinPointsVisited, getNumQueries, getStdDevCoordsPerPoint, getStdDevPointsVisited, getTotalCoordsPerPoint, getTotalPointsVisited, incrCoordCount, incrPointCount, updatePointCount
public void reset()
reset
in class PerformanceStats
public void searchStart()
searchStart
in class PerformanceStats
public void searchFinish()
searchFinish
in class PerformanceStats
public void incrLeafCount()
public void incrIntNodeCount()
public int getTotalLeavesVisited()
public double getMeanLeavesVisited()
public double getStdDevLeavesVisited()
public int getMinLeavesVisited()
public int getMaxLeavesVisited()
public int getTotalIntNodesVisited()
public double getMeanIntNodesVisited()
public double getStdDevIntNodesVisited()
public int getMinIntNodesVisited()
public int getMaxIntNodesVisited()
public java.util.Enumeration<java.lang.String> enumerateMeasures()
enumerateMeasures
in interface AdditionalMeasureProducer
enumerateMeasures
in class PerformanceStats
public double getMeasure(java.lang.String additionalMeasureName) throws java.lang.IllegalArgumentException
getMeasure
in interface AdditionalMeasureProducer
getMeasure
in class PerformanceStats
additionalMeasureName
- The name of the measure to query for
its value.java.lang.IllegalArgumentException
- If the named measure is not
supported.public java.lang.String getStats()
getStats
in class PerformanceStats
public java.lang.String getRevision()
getRevision
in interface RevisionHandler
getRevision
in class PerformanceStats