public class RecursiveCLDiversity extends LDiversity
l, minSize
attribute, index
Constructor and Description |
---|
RecursiveCLDiversity(java.lang.String attribute,
double c,
int l)
Creates a new instance of the recursive-(c,l)-diversity criterion as proposed in:
Machanavajjhala A, Kifer D, Gehrke J.
|
Modifier and Type | Method and Description |
---|---|
RecursiveCLDiversity |
clone()
Clone
|
double |
getC()
Returns the parameter c.
|
boolean |
isAnonymous(HashGroupifyEntry entry)
Implement this, to enforce the criterion.
|
boolean |
isLocalRecodingSupported()
Returns whether the criterion supports local recoding.
|
java.lang.String |
toString()
Returns a string representation.
|
getL, getMinimalGroupSize, getRequirements, getRiskThresholdJournalist, getRiskThresholdMarketer, getRiskThresholdProsecutor
getAttribute, initialize
getPopulationModel, getSubset, isMonotonicWithGeneralization, isMonotonicWithSuppression, isSampleBased
public RecursiveCLDiversity(java.lang.String attribute, double c, int l)
attribute
- c
- l
- public RecursiveCLDiversity clone()
PrivacyCriterion
clone
in class PrivacyCriterion
public double getC()
public boolean isAnonymous(HashGroupifyEntry entry)
PrivacyCriterion
isAnonymous
in class PrivacyCriterion
public boolean isLocalRecodingSupported()
PrivacyCriterion
isLocalRecodingSupported
in class PrivacyCriterion
public java.lang.String toString()
PrivacyCriterion
toString
in class PrivacyCriterion