#include <ScoreAccumulator.hpp>
Inheritance diagram for lemur::api::ScoreAccumulator:
Public Member Functions | |
virtual | ~ScoreAccumulator () |
virtual void | reset ()=0 |
clear, reset | |
virtual bool | findScore (int id, double &score) const =0 |
Find the score value for an id. | |
virtual void | setScore (int id, double score)=0 |
Set the score value of an id, add the id if it doesn't exist. | |
virtual void | incScore (int id, double score)=0 |
Increase the score value of an id, add the id if it doesn't exist. | |
virtual void | startIteration () const =0 |
Iteration support. | |
virtual bool | hasMore () const =0 |
virtual void | nextScore (int &id, double &score) const =0 |
|
|
|
Find the score value for an id.
Implemented in lemur::retrieval::ArrayAccumulator. |
|
Implemented in lemur::retrieval::ArrayAccumulator. |
|
Increase the score value of an id, add the id if it doesn't exist.
Implemented in lemur::retrieval::ArrayAccumulator. |
|
Implemented in lemur::retrieval::ArrayAccumulator. |
|
clear, reset
Implemented in lemur::retrieval::ArrayAccumulator. |
|
Set the score value of an id, add the id if it doesn't exist.
Implemented in lemur::retrieval::ArrayAccumulator. |
|
Iteration support.
Implemented in lemur::retrieval::ArrayAccumulator. |