public class HashGroupifyDistribution
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
HashGroupifyDistribution.PrivacyCondition
A condition that may or may not be fulfilled for the distribution
|
Modifier and Type | Method and Description |
---|---|
double |
getAverageClassSize()
Returns the average class size
|
double |
getFractionOfRecordsInClassesOfSize(int size)
Returns the fraction of tuples that are in classes of the given size
|
RiskModelHistogram |
getHistogram()
Returns a set of classes as an input for the risk model
|
int |
getNumRecords()
Returns the number of records
|
int |
getNumSuppressedRecords()
Returns the number of suppressed records
|
int |
suppressWhileNotFulfilledBinary(HashGroupifyDistribution.PrivacyCondition condition)
Suppresses entries until the condition is fulfilled
|
int |
suppressWhileNotFulfilledLinear(HashGroupifyDistribution.PrivacyCondition condition)
Suppresses entries until the condition is fulfilled
|
public double getAverageClassSize()
public double getFractionOfRecordsInClassesOfSize(int size)
size
- public RiskModelHistogram getHistogram()
public int getNumRecords()
public int getNumSuppressedRecords()
public int suppressWhileNotFulfilledBinary(HashGroupifyDistribution.PrivacyCondition condition)
condition
- public int suppressWhileNotFulfilledLinear(HashGroupifyDistribution.PrivacyCondition condition)
condition
-