public class CountEvaluator extends Object implements ApproximateEvaluator<Object,BoundedDouble>
TODO: There's currently a lot of shared code between this and GroupedCountEvaluator. It might be best to make this a special case of GroupedCountEvaluator with one group.
Constructor and Description |
---|
CountEvaluator(int totalOutputs,
double confidence) |
Modifier and Type | Method and Description |
---|---|
BoundedDouble |
currentResult() |
void |
merge(int outputId,
long taskResult) |
int |
outputsMerged() |
long |
sum() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
merge
public int outputsMerged()
public long sum()
public void merge(int outputId, long taskResult)
public BoundedDouble currentResult()
currentResult
in interface ApproximateEvaluator<Object,BoundedDouble>