public class KAnonymity extends ImplicitPrivacyCriterion
| Constructor and Description |
|---|
KAnonymity(int k)
Creates a new instance of the k-anonymity criterion as proposed in
Sweeney L. k-Anonymity: A model for protecting privacy.
|
| Modifier and Type | Method and Description |
|---|---|
KAnonymity |
clone()
Clone
|
int |
getK()
Returns the parameter k.
|
int |
getMinimalClassSize()
If a privacy model provides a prosecutor risk threshold, it should override this method to enable optimizations
|
int |
getRequirements()
Returns the criterion's requirements.
|
double |
getRiskThresholdJournalist()
Return journalist risk threshold, 1 if there is none
|
double |
getRiskThresholdMarketer()
Return marketer risk threshold, 1 if there is none
|
double |
getRiskThresholdProsecutor()
Return prosecutor risk threshold, 1 if there is none
|
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.
|
boolean |
isMinimalClassSizeAvailable()
If a privacy model provides a prosecutor risk threshold, it should override this method to enable optimizations
|
ElementData |
render()
Renders the privacy model
|
java.lang.String |
toString()
Returns a string representation.
|
clone, getDataSubset, getPopulationModel, getSubset, initialize, isHeuristicSearchSupported, isHeuristicSearchWithTimeLimitSupported, isMonotonicWithGeneralization, isMonotonicWithSuppression, isOptimalSearchSupported, isSampleBased, isSubsetAvailablepublic KAnonymity(int k)
k - public KAnonymity clone()
PrivacyCriterionclone in class PrivacyCriterionpublic int getK()
public int getMinimalClassSize()
PrivacyCriteriongetMinimalClassSize in class PrivacyCriterionpublic int getRequirements()
PrivacyCriteriongetRequirements in class PrivacyCriterionpublic double getRiskThresholdJournalist()
getRiskThresholdJournalist in class PrivacyCriterionpublic double getRiskThresholdMarketer()
getRiskThresholdMarketer in class PrivacyCriterionpublic double getRiskThresholdProsecutor()
getRiskThresholdProsecutor in class PrivacyCriterionpublic 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 boolean isMinimalClassSizeAvailable()
PrivacyCriterionisMinimalClassSizeAvailable in class PrivacyCriterionpublic ElementData render()
PrivacyCriterionrender in class PrivacyCriterionpublic java.lang.String toString()
PrivacyCriteriontoString in class PrivacyCriterion