Package org.deidentifier.arx.criteria
Klasse KAnonymity
java.lang.Object
org.deidentifier.arx.criteria.PrivacyCriterion
org.deidentifier.arx.criteria.ImplicitPrivacyCriterion
org.deidentifier.arx.criteria.KAnonymity
- Alle implementierten Schnittstellen:
Serializable
The k-anonymity criterion
Published in:
Sweeney L.
k-anonymity: A model for protecting privacy.
International Journal of Uncertainty, Fuzziness and Knowledge-Based Systems. 2002;10(5):557 - 570.
- Siehe auch:
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungKAnonymity(int k) Creates a new instance of the k-anonymity criterion as proposed in Sweeney L. k-Anonymity: A model for protecting privacy. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungclone()CloneintgetK()Returns the parameter k.intIf a privacy model provides a prosecutor risk threshold, it should override this method to enable optimizationsintReturns the criterion's requirements.doubleReturn journalist risk threshold, 1 if there is nonedoubleReturn marketer risk threshold, 1 if there is nonedoubleReturn prosecutor risk threshold, 1 if there is nonebooleanisAnonymous(Transformation<?> node, HashGroupifyEntry entry) Implement this, to enforce the criterion.booleanReturns whether the criterion supports local recoding.booleanIf a privacy model provides a prosecutor risk threshold, it should override this method to enable optimizationsrender()Renders the privacy modeltoString()Returns a string representation.Von Klasse geerbte Methoden org.deidentifier.arx.criteria.PrivacyCriterion
clone, getDataSubset, getPopulationModel, getSubset, initialize, isHeuristicSearchSupported, isHeuristicSearchWithTimeLimitSupported, isMonotonicWithGeneralization, isMonotonicWithSuppression, isOptimalSearchSupported, isSampleBased, isSubsetAvailable
-
Konstruktordetails
-
KAnonymity
public KAnonymity(int k) Creates a new instance of the k-anonymity criterion as proposed in Sweeney L. k-Anonymity: A model for protecting privacy. International Journal of Uncertainty, Fuzziness and Knowledge-Based Systems. 2002;10(5):557 - 570.- Parameter:
k-
-
-
Methodendetails
-
clone
Beschreibung aus Klasse kopiert:PrivacyCriterionClone- Angegeben von:
clonein KlassePrivacyCriterion
-
getK
public int getK()Returns the parameter k.- Gibt zurück:
-
getMinimalClassSize
public int getMinimalClassSize()Beschreibung aus Klasse kopiert:PrivacyCriterionIf a privacy model provides a prosecutor risk threshold, it should override this method to enable optimizations- Setzt außer Kraft:
getMinimalClassSizein KlassePrivacyCriterion- Gibt zurück:
-
getRequirements
public int getRequirements()Beschreibung aus Klasse kopiert:PrivacyCriterionReturns the criterion's requirements.- Angegeben von:
getRequirementsin KlassePrivacyCriterion- Gibt zurück:
-
getRiskThresholdJournalist
public double getRiskThresholdJournalist()Return journalist risk threshold, 1 if there is none- Setzt außer Kraft:
getRiskThresholdJournalistin KlassePrivacyCriterion- Gibt zurück:
-
getRiskThresholdMarketer
public double getRiskThresholdMarketer()Return marketer risk threshold, 1 if there is none- Setzt außer Kraft:
getRiskThresholdMarketerin KlassePrivacyCriterion- Gibt zurück:
-
getRiskThresholdProsecutor
public double getRiskThresholdProsecutor()Return prosecutor risk threshold, 1 if there is none- Setzt außer Kraft:
getRiskThresholdProsecutorin KlassePrivacyCriterion- Gibt zurück:
-
isAnonymous
Beschreibung aus Klasse kopiert:PrivacyCriterionImplement this, to enforce the criterion.- Angegeben von:
isAnonymousin KlassePrivacyCriterion- Parameter:
node- TODOentry-- Gibt zurück:
-
isLocalRecodingSupported
public boolean isLocalRecodingSupported()Beschreibung aus Klasse kopiert:PrivacyCriterionReturns whether the criterion supports local recoding.- Angegeben von:
isLocalRecodingSupportedin KlassePrivacyCriterion- Gibt zurück:
-
isMinimalClassSizeAvailable
public boolean isMinimalClassSizeAvailable()Beschreibung aus Klasse kopiert:PrivacyCriterionIf a privacy model provides a prosecutor risk threshold, it should override this method to enable optimizations- Setzt außer Kraft:
isMinimalClassSizeAvailablein KlassePrivacyCriterion- Gibt zurück:
-
render
Beschreibung aus Klasse kopiert:PrivacyCriterionRenders the privacy model- Angegeben von:
renderin KlassePrivacyCriterion- Gibt zurück:
-
toString
Beschreibung aus Klasse kopiert:PrivacyCriterionReturns a string representation.- Angegeben von:
toStringin KlassePrivacyCriterion- Gibt zurück:
-