Package org.deidentifier.arx.criteria
Klasse PrivacyCriterion
java.lang.Object
org.deidentifier.arx.criteria.PrivacyCriterion
- Alle implementierten Schnittstellen:
Serializable
- Bekannte direkte Unterklassen:
ExplicitPrivacyCriterion,ImplicitPrivacyCriterion,SampleBasedCriterion
An abstract base class for privacy criteria.
- Siehe auch:
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungPrivacyCriterion(boolean monotonicWithSuppression, boolean monotonicWithGeneralization) Instantiates a new criterion. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract PrivacyCriterionclone()Cloneclone(DataSubset subset) Clone for local recodingIf a privacy model uses a data subset, it must overwrite this methodintIf a privacy model provides a prosecutor risk threshold, it should override this method to enable optimizationsReturns the associated population model,nullif there is none.abstract intReturns 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 noneReturns a research subset,nullif no subset is availablevoidinitialize(DataManager manager, ARXConfiguration config) Override this to initialize the criterion.abstract booleanisAnonymous(Transformation<?> node, HashGroupifyEntry entry) Implement this, to enforce the criterion.booleanReturns whether the criterion supports heuristic search strategies.booleanReturns whether the criterion supports heuristic search strategies with time limits.abstract booleanReturns whether the criterion supports local recoding.booleanIf a privacy model provides a prosecutor risk threshold, it should override this method to enable optimizationsbooleanReturns whether the criterion is monotonic with generalization.booleanReturns whether the criterion is monotonic with tuple suppression.booleanReturns whether the criterion supports optimal search strategies.booleanIs this criterion based on the overall samplebooleanIf a privacy model uses a data subset, it must overwrite this methodabstract ElementDatarender()Renders the privacy modelabstract StringtoString()Returns a string representation.
-
Konstruktordetails
-
PrivacyCriterion
public PrivacyCriterion(boolean monotonicWithSuppression, boolean monotonicWithGeneralization) Instantiates a new criterion.- Parameter:
monotonicWithSuppression-monotonicWithGeneralization-
-
-
Methodendetails
-
clone
Clone -
clone
Clone for local recoding -
getDataSubset
If a privacy model uses a data subset, it must overwrite this method- Gibt zurück:
-
getMinimalClassSize
public int getMinimalClassSize()If a privacy model provides a prosecutor risk threshold, it should override this method to enable optimizations- Gibt zurück:
-
getPopulationModel
Returns the associated population model,nullif there is none.- Gibt zurück:
- the populationModel
-
getRequirements
public abstract int getRequirements()Returns the criterion's requirements.- Gibt zurück:
-
getRiskThresholdJournalist
public double getRiskThresholdJournalist()Return journalist risk threshold, 1 if there is none- Gibt zurück:
-
getRiskThresholdMarketer
public double getRiskThresholdMarketer()Return marketer risk threshold, 1 if there is none- Gibt zurück:
-
getRiskThresholdProsecutor
public double getRiskThresholdProsecutor()Return prosecutor risk threshold, 1 if there is none- Gibt zurück:
-
getSubset
Returns a research subset,nullif no subset is available- Gibt zurück:
-
initialize
Override this to initialize the criterion.- Parameter:
manager-config- TODO
-
isHeuristicSearchSupported
public boolean isHeuristicSearchSupported()Returns whether the criterion supports heuristic search strategies.- Gibt zurück:
-
isHeuristicSearchWithTimeLimitSupported
public boolean isHeuristicSearchWithTimeLimitSupported()Returns whether the criterion supports heuristic search strategies with time limits.- Gibt zurück:
-
isOptimalSearchSupported
public boolean isOptimalSearchSupported()Returns whether the criterion supports optimal search strategies.- Gibt zurück:
-
isAnonymous
Implement this, to enforce the criterion.- Parameter:
node- TODOentry-- Gibt zurück:
-
isLocalRecodingSupported
public abstract boolean isLocalRecodingSupported()Returns whether the criterion supports local recoding.- Gibt zurück:
-
isMinimalClassSizeAvailable
public boolean isMinimalClassSizeAvailable()If a privacy model provides a prosecutor risk threshold, it should override this method to enable optimizations- Gibt zurück:
-
isMonotonicWithGeneralization
public boolean isMonotonicWithGeneralization()Returns whether the criterion is monotonic with generalization.- Gibt zurück:
-
isMonotonicWithSuppression
public boolean isMonotonicWithSuppression()Returns whether the criterion is monotonic with tuple suppression.- Gibt zurück:
-
isSampleBased
public boolean isSampleBased()Is this criterion based on the overall sample- Gibt zurück:
-
isSubsetAvailable
public boolean isSubsetAvailable()If a privacy model uses a data subset, it must overwrite this method- Gibt zurück:
-
render
Renders the privacy model- Gibt zurück:
-
toString
Returns a string representation.
-