|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.core.neighboursearch.PerformanceStats
weka.core.neighboursearch.TreePerformanceStats
public class TreePerformanceStats
The class that measures the performance of a tree based nearest neighbour search algorithm.
| Field Summary |
|---|
| Fields inherited from class weka.core.neighboursearch.PerformanceStats |
|---|
m_CoordCount, m_MaxC, m_MaxP, m_MinC, m_MinP, m_PointCount, m_SumC, m_SumP, m_SumSqC, m_SumSqP |
| Constructor Summary | |
|---|---|
TreePerformanceStats()
Default constructor. |
|
| Method Summary | |
|---|---|
java.util.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(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. |
| Methods inherited from class weka.core.neighboursearch.PerformanceStats |
|---|
getMaxCoordsPerPoint, getMaxPointsVisited, getMeanCoordsPerPoint, getMeanPointsVisited, getMinCoordsPerPoint, getMinPointsVisited, getNumQueries, getStdDevCoordsPerPoint, getStdDevPointsVisited, getTotalCoordsPerPoint, getTotalPointsVisited, incrCoordCount, incrPointCount, updatePointCount |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreePerformanceStats()
| Method Detail |
|---|
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 enumerateMeasures()
enumerateMeasures in interface AdditionalMeasureProducerenumerateMeasures in class PerformanceStats
public 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||