U - type of the usersI - type of the itemspublic interface SystemMetric<U,I>
| Modifier and Type | Method and Description |
|---|---|
void |
add(Recommendation<U,I> recommendation)
Add a recommendation to the metric.
|
void |
combine(SystemMetric<U,I> other)
Combines the recommendations added to other system metric to this one.
|
double |
evaluate()
Evaluates the metric for the recommendations added so far.
|
void |
reset()
Resets the metric by discarding the recommendations previously added.
|
void add(Recommendation<U,I> recommendation)
recommendation - recommendation to be added to the computation.double evaluate()
void combine(SystemMetric<U,I> other)
other - other system metric, should be of the same or compatible
classvoid reset()
Copyright © 2016. All rights reserved.