public class GroupedSumEvaluator<T> extends Object implements ApproximateEvaluator<java.util.HashMap<T,StatCounter>,scala.collection.Map<T,BoundedDouble>>
Constructor and Description |
---|
GroupedSumEvaluator(int totalOutputs,
double confidence) |
Modifier and Type | Method and Description |
---|---|
scala.collection.Map<T,BoundedDouble> |
currentResult() |
void |
merge(int outputId,
java.util.HashMap<T,StatCounter> taskResult) |
int |
outputsMerged() |
java.util.HashMap<T,StatCounter> |
sums() |
public GroupedSumEvaluator(int totalOutputs, double confidence)
public int outputsMerged()
public java.util.HashMap<T,StatCounter> sums()
public void merge(int outputId, java.util.HashMap<T,StatCounter> taskResult)
merge
in interface ApproximateEvaluator<java.util.HashMap<T,StatCounter>,scala.collection.Map<T,BoundedDouble>>
public scala.collection.Map<T,BoundedDouble> currentResult()
currentResult
in interface ApproximateEvaluator<java.util.HashMap<T,StatCounter>,scala.collection.Map<T,BoundedDouble>>