public class DistinctLDiversity extends LDiversity
l, minSize
attribute, index
Constructor and Description |
---|
DistinctLDiversity(java.lang.String attribute,
int l)
Creates a new instance of the distinct l-diversity privacy criterion as proposed in
Machanavajjhala A, Kifer D, Gehrke J.
|
Modifier and Type | Method and Description |
---|---|
DistinctLDiversity |
clone()
Clone
|
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 DistinctLDiversity(java.lang.String attribute, int l)
attribute
- l
- public DistinctLDiversity clone()
PrivacyCriterion
clone
in class PrivacyCriterion
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