Package org.deidentifier.arx
Klasse ARXConfiguration.ARXConfigurationInternal
java.lang.Object
org.deidentifier.arx.ARXConfiguration.ARXConfigurationInternal
- Umschließende Klasse:
ARXConfiguration
Class for internal use that provides access to more parameters and functionality.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfinal intReturns the maximum number of allowed outliers.Returns all class-based criteria (except k-anonymity) as an array.doubleReturns the max relative number of outliers.intReturns the minimal size of an equivalence class induced by the contained criteria.Returns a monotonicity propertyReturns a monotonicity property<T extends PrivacyCriterion>
TgetPrivacyModel(Class<T> clazz) Returns all criteria.Metric<?> Returns the quality model to be used for optimizing output data.intReturns the criteria's requirements.Returns all sample-based criteria as an array.intReturns the specific length of each entry in a snapshot.Returns the data subset, if anyintReturns an integer representing all attribute types that must be suppressed.booleanIs practical monotonicity assumed.booleanisPrivacyModelSpecified(Class<? extends PrivacyCriterion> clazz) booleanReturns whether suppression is applied to the output of anonymous as well as non-anonymous transformations.booleanDo we guarantee optimality for sample-based criteria?booleanrequires(int requirement) Convenience method for checking the requirements.
-
Methodendetails
-
getAbsoluteSuppressionLimit
public final int getAbsoluteSuppressionLimit()Returns the maximum number of allowed outliers.- Gibt zurück:
-
getClassBasedPrivacyModelsAsArray
Returns all class-based criteria (except k-anonymity) as an array. Only used internally. If k-anonymity is included the minimal group size should be obtained and enforced- Gibt zurück:
-
getMaxOutliers
public double getMaxOutliers()Returns the max relative number of outliers.- Gibt zurück:
-
getMinimalGroupSize
public int getMinimalGroupSize()Returns the minimal size of an equivalence class induced by the contained criteria.- Gibt zurück:
- If k-anonymity is contained, k is returned. If l-diversity is contained, l is returned. If both are contained max(k,l) is returned. Otherwise, Integer.MAX_VALUE is returned.
-
getMonotonicityOfPrivacy
Returns a monotonicity property- Gibt zurück:
-
getMonotonicityOfUtility
Returns a monotonicity property- Gibt zurück:
-
getPrivacyModel
- Typparameter:
T-- Parameter:
clazz-- Gibt zurück:
- Siehe auch:
-
getPrivacyModels
Returns all criteria.- Gibt zurück:
-
getQualityModel
Returns the quality model to be used for optimizing output data.- Gibt zurück:
-
getRequirements
public int getRequirements()Returns the criteria's requirements.- Gibt zurück:
-
getSampleBasedPrivacyModelsAsArray
Returns all sample-based criteria as an array.- Gibt zurück:
-
getSnapshotLength
public int getSnapshotLength()Returns the specific length of each entry in a snapshot.- Gibt zurück:
-
getSubset
Returns the data subset, if any- Gibt zurück:
-
getSuppressedAttributeTypes
public int getSuppressedAttributeTypes()Returns an integer representing all attribute types that must be suppressed.- Gibt zurück:
-
isPracticalMonotonicity
public boolean isPracticalMonotonicity()Is practical monotonicity assumed.- Gibt zurück:
-
isPrivacyModelSpecified
- Parameter:
clazz-- Gibt zurück:
- Siehe auch:
-
isSuppressionAlwaysEnabled
public boolean isSuppressionAlwaysEnabled()Returns whether suppression is applied to the output of anonymous as well as non-anonymous transformations. If this flag is set to true, suppression will be applied to the output of non-anonymous transformations to make them anonymous (if possible). Default is true.- Gibt zurück:
-
isUseHeuristicForSampleBasedCriteria
public boolean isUseHeuristicForSampleBasedCriteria()Do we guarantee optimality for sample-based criteria? -
requires
public boolean requires(int requirement) Convenience method for checking the requirements.- Parameter:
requirement-- Gibt zurück:
-