#include <ScoreAccumulator.hpp>
Inheritance diagram for ScoreAccumulator:

Public Methods | |
| virtual void | reset ()=0 |
| clear, reset. | |
| virtual bool | findScore (int id,double &score)=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 ()=0 |
| Iteration support. | |
| virtual bool | hasMore ()=0 |
| virtual void | nextScore (int &id,double &score)=0 |
|
|
Find the score value for an id.
Reimplemented in ArrayAccumulator. |
|
|
Reimplemented in ArrayAccumulator. |
|
|
Increase the score value of an id, add the id if it doesn't exist.
Reimplemented in ArrayAccumulator. |
|
|
Reimplemented in ArrayAccumulator. |
|
|
clear, reset.
Reimplemented in ArrayAccumulator. |
|
|
Set the score value of an id, add the id if it doesn't exist.
Reimplemented in ArrayAccumulator. |
|
|
Iteration support.
Reimplemented in ArrayAccumulator. |
1.2.4 written by Dimitri van Heesch,
© 1997-2000