public abstract class SampleBasedCriterion extends PrivacyCriterion
| Constructor and Description |
|---|
SampleBasedCriterion(boolean monotonicWithSuppression,
boolean monotonicWithGeneralization)
Instantiates a new criterion.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
enforce(org.deidentifier.arx.framework.check.groupify.HashGroupifyDistribution distribution,
int numMaxSuppressedOutliers)
This method enforces the criterion on the current hash table.
|
boolean |
isAnonymous(org.deidentifier.arx.framework.lattice.Transformation<?> node,
org.deidentifier.arx.framework.check.groupify.HashGroupifyEntry entry)
Not supported by this type of criterion
|
boolean |
isSampleBased()
Is this criterion based on the overall sample
|
clone, clone, getDataSubset, getMinimalClassSize, getPopulationModel, getRequirements, getRiskThresholdJournalist, getRiskThresholdMarketer, getRiskThresholdProsecutor, getSubset, initialize, isHeuristicSearchSupported, isHeuristicSearchWithTimeLimitSupported, isLocalRecodingSupported, isMinimalClassSizeAvailable, isMonotonicWithGeneralization, isMonotonicWithSuppression, isOptimalSearchSupported, isSubsetAvailable, render, toStringpublic SampleBasedCriterion(boolean monotonicWithSuppression,
boolean monotonicWithGeneralization)
monotonicWithSuppression - monotonicWithGeneralization - public abstract void enforce(org.deidentifier.arx.framework.check.groupify.HashGroupifyDistribution distribution,
int numMaxSuppressedOutliers)
distribution.getNumOfSuppressedTuples() > numMaxSuppressedOutliers).distribution - numMaxSuppressedOutliers - public boolean isAnonymous(org.deidentifier.arx.framework.lattice.Transformation<?> node,
org.deidentifier.arx.framework.check.groupify.HashGroupifyEntry entry)
isAnonymous in class PrivacyCriterionentry - node - TODOpublic boolean isSampleBased()
PrivacyCriterionisSampleBased in class PrivacyCriterion