public class EntropyLDiversity extends LDiversity
| Modifier and Type | Class and Description |
|---|---|
static class |
EntropyLDiversity.EntropyEstimator
Enumerator of entropy estimators for the entropy-l-diversity privacy model.
|
| Constructor and Description |
|---|
EntropyLDiversity(java.lang.String attribute,
double l)
Creates a new instance of the entropy l-diversity model as proposed in:
Machanavajjhala A, Kifer D, Gehrke J. l-diversity: Privacy beyond k-anonymity. |
EntropyLDiversity(java.lang.String attribute,
double l,
EntropyLDiversity.EntropyEstimator estimator)
Creates a new instance of the entropy-l-diversity privacy model,
specifying the entropy estimator be to used.
|
| Modifier and Type | Method and Description |
|---|---|
EntropyLDiversity |
clone()
Clone
|
EntropyLDiversity.EntropyEstimator |
getEstimator()
Returns the entropy estimator used by this instance
|
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.
|
ElementData |
render()
Renders the privacy model
|
java.lang.String |
toString()
Returns a string representation.
|
getL, getMinimalClassSize, getRequirements, getRiskThresholdJournalist, getRiskThresholdMarketer, getRiskThresholdProsecutor, isMinimalClassSizeAvailablegetAttribute, initializeclone, getDataSubset, getPopulationModel, getSubset, isHeuristicSearchSupported, isHeuristicSearchWithTimeLimitSupported, isMonotonicWithGeneralization, isMonotonicWithSuppression, isOptimalSearchSupported, isSampleBased, isSubsetAvailablepublic EntropyLDiversity(java.lang.String attribute,
double l)
attribute - l - public EntropyLDiversity(java.lang.String attribute,
double l,
EntropyLDiversity.EntropyEstimator estimator)
attribute - The sensitive attributel - Security parameterestimator - Entropy estimator (SHANNON or GRASSBERGER)public EntropyLDiversity clone()
PrivacyCriterionclone in class PrivacyCriterionpublic EntropyLDiversity.EntropyEstimator getEstimator()
public boolean isAnonymous(org.deidentifier.arx.framework.lattice.Transformation<?> node,
org.deidentifier.arx.framework.check.groupify.HashGroupifyEntry entry)
PrivacyCriterionisAnonymous in class PrivacyCriterionnode - TODOpublic boolean isLocalRecodingSupported()
PrivacyCriterionisLocalRecodingSupported in class PrivacyCriterionpublic ElementData render()
PrivacyCriterionrender in class PrivacyCriterionpublic java.lang.String toString()
PrivacyCriteriontoString in class PrivacyCriterion