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