public class TreePerformanceStats extends PerformanceStats
Modifier and Type | Field and Description |
---|---|
protected int |
m_IntNodeCount
The number of internal nodes looked at
for the current/last query.
|
protected int |
m_LeafCount
The number of leaf nodes looked at
for the current/last query.
|
protected int |
m_MaxIntNodes
The min and max number internal nodes looked
for a query by the tree based NNS algorithm.
|
protected int |
m_MaxLeaves
The min and max number leaf nodes looked
for a query by the tree based NNS algorithm.
|
protected int |
m_MinIntNodes
The min and max number internal nodes looked
for a query by the tree based NNS algorithm.
|
protected int |
m_MinLeaves
The min and max number leaf nodes looked
for a query by the tree based NNS algorithm.
|
protected int |
m_SumIntNodes
The sum of internal nodes looked
at for all the queries.
|
protected int |
m_SumLeaves
The sum of leaf nodes looked
at for all the queries.
|
protected int |
m_SumSqIntNodes
The squared sum of internal nodes looked
at for all the queries.
|
protected int |
m_SumSqLeaves
The squared sum of leaf nodes looked
at for all the queries.
|
m_CoordCount, m_MaxC, m_MaxP, m_MinC, m_MinP, m_NumQueries, m_PointCount, m_SumC, m_SumP, m_SumSqC, m_SumSqP
Constructor and Description |
---|
TreePerformanceStats()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Enumeration |
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(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.
|
String |
getRevision()
Returns the revision string.
|
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
protected int m_MinLeaves
protected int m_MaxLeaves
protected int m_SumLeaves
protected int m_SumSqLeaves
protected int m_LeafCount
protected int m_MinIntNodes
protected int m_MaxIntNodes
protected int m_SumIntNodes
protected int m_SumSqIntNodes
protected int m_IntNodeCount
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 Enumeration enumerateMeasures()
enumerateMeasures
in interface AdditionalMeasureProducer
enumerateMeasures
in class PerformanceStats
public double getMeasure(String additionalMeasureName) throws IllegalArgumentException
getMeasure
in interface AdditionalMeasureProducer
getMeasure
in class PerformanceStats
additionalMeasureName
- The name of the measure to query for
its value.IllegalArgumentException
- If the named measure is not
supported.public String getStats()
getStats
in class PerformanceStats
public String getRevision()
getRevision
in interface RevisionHandler
getRevision
in class PerformanceStats
Copyright © 2015 University of Waikato, Hamilton, NZ. All rights reserved.