Package org.deidentifier.arx.criteria
Klasse SampleBasedCriterion
java.lang.Object
org.deidentifier.arx.criteria.PrivacyCriterion
org.deidentifier.arx.criteria.SampleBasedCriterion
- Alle implementierten Schnittstellen:
Serializable
- Bekannte direkte Unterklassen:
RiskBasedCriterion
An abstract base class for sample-based privacy criteria.
- Siehe auch:
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungSampleBasedCriterion(boolean monotonicWithSuppression, boolean monotonicWithGeneralization) Instantiates a new criterion. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract voidenforce(org.deidentifier.arx.framework.check.groupify.HashGroupifyDistribution distribution, int numMaxSuppressedOutliers) This method enforces the criterion on the current hash table.booleanisAnonymous(org.deidentifier.arx.framework.lattice.Transformation<?> node, org.deidentifier.arx.framework.check.groupify.HashGroupifyEntry entry) Not supported by this type of criterionbooleanIs this criterion based on the overall sampleVon Klasse geerbte Methoden org.deidentifier.arx.criteria.PrivacyCriterion
clone, clone, getDataSubset, getMinimalClassSize, getPopulationModel, getRequirements, getRiskThresholdJournalist, getRiskThresholdMarketer, getRiskThresholdProsecutor, getSubset, initialize, isHeuristicSearchSupported, isHeuristicSearchWithTimeLimitSupported, isLocalRecodingSupported, isMinimalClassSizeAvailable, isMonotonicWithGeneralization, isMonotonicWithSuppression, isOptimalSearchSupported, isSubsetAvailable, render, toString
-
Konstruktordetails
-
SampleBasedCriterion
public SampleBasedCriterion(boolean monotonicWithSuppression, boolean monotonicWithGeneralization) Instantiates a new criterion.- Parameter:
monotonicWithSuppression-monotonicWithGeneralization-
-
-
Methodendetails
-
enforce
public abstract void enforce(org.deidentifier.arx.framework.check.groupify.HashGroupifyDistribution distribution, int numMaxSuppressedOutliers) This 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).- Parameter:
distribution-numMaxSuppressedOutliers-
-
isAnonymous
public boolean isAnonymous(org.deidentifier.arx.framework.lattice.Transformation<?> node, org.deidentifier.arx.framework.check.groupify.HashGroupifyEntry entry) Not supported by this type of criterion- Angegeben von:
isAnonymousin KlassePrivacyCriterion- Parameter:
node- TODOentry-- Gibt zurück:
-
isSampleBased
public boolean isSampleBased()Beschreibung aus Klasse kopiert:PrivacyCriterionIs this criterion based on the overall sample- Setzt außer Kraft:
isSampleBasedin KlassePrivacyCriterion- Gibt zurück:
-