Package org.deidentifier.arx.criteria
Klasse RiskBasedCriterion
java.lang.Object
org.deidentifier.arx.criteria.PrivacyCriterion
org.deidentifier.arx.criteria.SampleBasedCriterion
org.deidentifier.arx.criteria.RiskBasedCriterion
- Alle implementierten Schnittstellen:
Serializable
- Bekannte direkte Unterklassen:
AverageReidentificationRisk,PopulationUniqueness,SampleUniqueness
Abstract class for criteria that ensure that a certain risk measure is lower than or equal to a given threshold
- Siehe auch:
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungRiskBasedCriterion(boolean monotonicWithSuppression, boolean monotonicWithGeneralization, double riskThreshold) Creates a new instance of this criterion. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidenforce(org.deidentifier.arx.framework.check.groupify.HashGroupifyDistribution distribution, int numMaxSuppressedOutliers) This method enforces the criterion on the current hash table.intReturns the criterion's requirements.doubleReturns the risk thresholdprotected abstract booleanisFulfilled(org.deidentifier.arx.framework.check.groupify.HashGroupifyDistribution distribution) To be implemented by risk-based criteriaVon Klasse geerbte Methoden org.deidentifier.arx.criteria.SampleBasedCriterion
isAnonymous, isSampleBasedVon Klasse geerbte Methoden org.deidentifier.arx.criteria.PrivacyCriterion
clone, clone, getDataSubset, getMinimalClassSize, getPopulationModel, getRiskThresholdJournalist, getRiskThresholdMarketer, getRiskThresholdProsecutor, getSubset, initialize, isHeuristicSearchSupported, isHeuristicSearchWithTimeLimitSupported, isLocalRecodingSupported, isMinimalClassSizeAvailable, isMonotonicWithGeneralization, isMonotonicWithSuppression, isOptimalSearchSupported, isSubsetAvailable, render, toString
-
Konstruktordetails
-
RiskBasedCriterion
public RiskBasedCriterion(boolean monotonicWithSuppression, boolean monotonicWithGeneralization, double riskThreshold) Creates a new instance of this criterion.- Parameter:
monotonicWithSuppression-monotonicWithGeneralization-riskThreshold-
-
-
Methodendetails
-
enforce
public void enforce(org.deidentifier.arx.framework.check.groupify.HashGroupifyDistribution distribution, int numMaxSuppressedOutliers) Beschreibung aus Klasse kopiert:SampleBasedCriterionThis method enforces the criterion on the current hash table. Criteria can be enforced by suppressing classes in the distribution by passing a PrivacyCondition. Criteria may abort early, if the threshold is reached (distribution.getNumOfSuppressedTuples() > numMaxSuppressedOutliers).- Angegeben von:
enforcein KlasseSampleBasedCriterion- Parameter:
distribution-numMaxSuppressedOutliers-
-
getRequirements
public int getRequirements()Beschreibung aus Klasse kopiert:PrivacyCriterionReturns the criterion's requirements.- Angegeben von:
getRequirementsin KlassePrivacyCriterion- Gibt zurück:
-
getRiskThreshold
public double getRiskThreshold()Returns the risk threshold- Gibt zurück:
-
isFulfilled
protected abstract boolean isFulfilled(org.deidentifier.arx.framework.check.groupify.HashGroupifyDistribution distribution) To be implemented by risk-based criteria- Parameter:
distribution-- Gibt zurück:
-