public class LossyCountingBudgetImpl<T> extends LossyCountingImpl<T>
DataStructure.Type
buckets, bucketSize, currentBucket, epsilon, frequencies, items, mutex
FINITE_ITERABLE_DATA_STRUCTURES, FINITE_ITERABLE_POINTER_DATA_STRUCTURES, FINITE_POINTER_DATA_STRUCTURES, INFIITE_DATA_STRUCTURES, ITERABLE_DATA_STRUCTURES, POINTER_DATA_STRUCTURES
Constructor and Description |
---|
LossyCountingBudgetImpl(java.util.Map<LossyCountingParameterDefinition,DSParameter<?>> params) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<T> |
add(T e)
add elements to a stream based data structure may lead to removal of
other elements in the data structure If possible, the implementing
algorithm will return a collection of elements.
|
java.util.Collection<T> |
add(T t,
int f) |
java.util.Collection<T> |
clean() |
DataStructure.Type |
getType() |
clean, clear, contains, containsAll, getBucketOf, getBucketSize, getCapacity, getCurrentBucket, getFrequencyOf, getMaximumApproximationError, getSize, isEmpty, iterator, remove, setBucketSize, setMaximumApproximationError, toString
getParameters, getUsedMemoryInBytes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getParameters, getUsedMemoryInBytes
public LossyCountingBudgetImpl(java.util.Map<LossyCountingParameterDefinition,DSParameter<?>> params)
public java.util.Collection<T> add(T e)
DataStructure
add
in interface DataStructure<T>
add
in class LossyCountingImpl<T>
public java.util.Collection<T> clean()
clean
in class LossyCountingImpl<T>
public DataStructure.Type getType()
getType
in interface DataStructure<T>
getType
in class LossyCountingImpl<T>