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 |
|---|---|
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, updatePointCountprotected 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 PerformanceStatspublic void searchStart()
searchStart in class PerformanceStatspublic void searchFinish()
searchFinish in class PerformanceStatspublic 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 AdditionalMeasureProducerenumerateMeasures in class PerformanceStatspublic double getMeasure(java.lang.String additionalMeasureName)
throws java.lang.IllegalArgumentException
getMeasure in interface AdditionalMeasureProducergetMeasure in class PerformanceStatsadditionalMeasureName - 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 PerformanceStatspublic java.lang.String getRevision()
getRevision in interface RevisionHandlergetRevision in class PerformanceStats