|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.utilities.QueryStatistic
public class QueryStatistic
Provides some statistics about queries using a filter-refinement architecture.
Field Summary | |
---|---|
private int |
candidates
The number of candidate objects which need a refinement. |
private int |
results
The overall number of the result objects after refinement plus the true hits. |
private int |
trueHits
The number of true hits which do not need a refinement. |
Constructor Summary | |
---|---|
QueryStatistic()
|
Method Summary | |
---|---|
void |
addCandidates(int candidates)
Adds the specified number to the number of the candidate objects. |
void |
addResults(int results)
Adds the specified number to the number of the result objects. |
void |
addTrueHits(int trueHits)
Adds the specified number to the number of the true hits. |
void |
clear()
Clears the values of this statistic. |
String |
toString()
Returns the number of candidate objects and the number of the result objects after refinement. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private int candidates
private int trueHits
private int results
Constructor Detail |
---|
public QueryStatistic()
Method Detail |
---|
public void clear()
public void addResults(int results)
results
- the number of the result objects to be addedpublic void addCandidates(int candidates)
candidates
- the number of the candidate objects to be addedpublic void addTrueHits(int trueHits)
trueHits
- the number of the true hits to be addedpublic String toString()
toString
in class Object
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |