public interface ConditionEvaluator
Measures the performance of a single experimental condition. Condition evaluators must be thread-safe, allowing multiple users to be measured in parallel.
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
finish()
Finish measuring the performance for the algorithm and data set.
|
java.util.Map<java.lang.String,java.lang.Object> |
measureUser(Recommender rec,
TestUser testUser)
Measure the performance for a single user.
|
@Nonnull java.util.Map<java.lang.String,java.lang.Object> measureUser(Recommender rec, TestUser testUser)
Measure the performance for a single user.
rec
- The recommender to use.testUser
- The user to test.@Nonnull java.util.Map<java.lang.String,java.lang.Object> finish()
Finish measuring the performance for the algorithm and data set.