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(org.deidentifier.arx.framework.lattice.Transformation node,
org.deidentifier.arx.framework.check.groupify.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, getMinimalClassSize, getRequirements, getRiskThresholdJournalist, getRiskThresholdMarketer, getRiskThresholdProsecutor, isMinimalClassSizeAvailable
getAttribute, initialize
clone, getDataSubset, getPopulationModel, getSubset, isMonotonicWithGeneralization, isMonotonicWithSuppression, isSampleBased, isSubsetAvailable
public DistinctLDiversity(java.lang.String attribute, int l)
attribute
- l
- public DistinctLDiversity clone()
PrivacyCriterion
clone
in class PrivacyCriterion
public boolean isAnonymous(org.deidentifier.arx.framework.lattice.Transformation node, org.deidentifier.arx.framework.check.groupify.HashGroupifyEntry entry)
PrivacyCriterion
isAnonymous
in class PrivacyCriterion
node
- TODOpublic boolean isLocalRecodingSupported()
PrivacyCriterion
isLocalRecodingSupported
in class PrivacyCriterion
public java.lang.String toString()
PrivacyCriterion
toString
in class PrivacyCriterion