public class ConservativeAddSketch extends CountMinSketch
CountMinSketch.CMSMergeExceptionPRIME_MODULUS| Constructor and Description |
|---|
ConservativeAddSketch(double epsOfTotalCount,
double confidence,
int seed) |
ConservativeAddSketch(int depth,
int width,
int seed) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(long item,
long count) |
void |
add(String item,
long count) |
deserialize, estimateCount, estimateCount, getConfidence, getRelativeError, merge, serialize, sizepublic ConservativeAddSketch(int depth,
int width,
int seed)
public ConservativeAddSketch(double epsOfTotalCount,
double confidence,
int seed)
public void add(long item,
long count)
add in interface IFrequencyadd in class CountMinSketchpublic void add(String item, long count)
add in interface IFrequencyadd in class CountMinSketchCopyright © 2014. All rights reserved.