private final int sampleWeightChannel;
private final double confidence;
public ApproximateCountGroupedAccumulator(Optional<Integer> maskChannel, int sampleWeightChannel, double confidence)
{
this.counts = new LongBigArray();
this.samples = new LongBigArray();
this.maskChannel = maskChannel;
this.sampleWeightChannel = sampleWeightChannel;
this.confidence = confidence;
}