Package org.deidentifier.arx.criteria
Klasse PopulationUniqueness
java.lang.Object
org.deidentifier.arx.criteria.PrivacyCriterion
org.deidentifier.arx.criteria.SampleBasedCriterion
org.deidentifier.arx.criteria.RiskBasedCriterion
org.deidentifier.arx.criteria.PopulationUniqueness
- Alle implementierten Schnittstellen:
Serializable
This criterion ensures that the population uniqueness falls below a given threshold.
- Siehe auch:
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungPopulationUniqueness(double riskThreshold, ARXPopulationModel populationModel) Creates a new instance of this criterion.PopulationUniqueness(double riskThreshold, ARXPopulationModel populationModel, ARXSolverConfiguration config) Creates a new instance of this criterion.PopulationUniqueness(double riskThreshold, RiskModelPopulationUniqueness.PopulationUniquenessModel statisticalModel, ARXPopulationModel populationModel) Creates a new instance of this criterion.PopulationUniqueness(double riskThreshold, RiskModelPopulationUniqueness.PopulationUniquenessModel statisticalModel, ARXPopulationModel populationModel, ARXSolverConfiguration config) Creates a new instance of this criterion. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungclone()CloneReturns the associated population model,nullif there is none.doubleReturn marketer risk threshold, 1 if there is nonevoidinitialize(org.deidentifier.arx.framework.data.DataManager manager, ARXConfiguration config) Override this to initialize the criterion.booleanReturns whether the criterion supports local recoding.render()Renders the privacy modeltoString()Returns a string representation.Von Klasse geerbte Methoden org.deidentifier.arx.criteria.RiskBasedCriterion
enforce, getRequirements, getRiskThresholdVon Klasse geerbte Methoden org.deidentifier.arx.criteria.SampleBasedCriterion
isAnonymous, isSampleBasedVon Klasse geerbte Methoden org.deidentifier.arx.criteria.PrivacyCriterion
clone, getDataSubset, getMinimalClassSize, getRiskThresholdJournalist, getRiskThresholdProsecutor, getSubset, isHeuristicSearchSupported, isHeuristicSearchWithTimeLimitSupported, isMinimalClassSizeAvailable, isMonotonicWithGeneralization, isMonotonicWithSuppression, isOptimalSearchSupported, isSubsetAvailable
-
Konstruktordetails
-
PopulationUniqueness
Creates a new instance of this criterion. Uses Dankar's method for estimating population uniqueness. This constructor will clone the population model, making further changes to it will not influence the results. The default accuracy is 10e-6 and the default maximal number of iterations is 1000.- Parameter:
riskThreshold-populationModel-
-
PopulationUniqueness
public PopulationUniqueness(double riskThreshold, ARXPopulationModel populationModel, ARXSolverConfiguration config) Creates a new instance of this criterion. Uses Dankar's method for estimating population uniqueness. This constructor will clone the population model, making further changes to it will not influence the results.- Parameter:
riskThreshold-populationModel-config-
-
PopulationUniqueness
public PopulationUniqueness(double riskThreshold, RiskModelPopulationUniqueness.PopulationUniquenessModel statisticalModel, ARXPopulationModel populationModel) Creates a new instance of this criterion. Uses the specified method for estimating population uniqueness. This constructor will clone the population model, making further changes to it will not influence the results.- Parameter:
riskThreshold-statisticalModel-populationModel-
-
PopulationUniqueness
public PopulationUniqueness(double riskThreshold, RiskModelPopulationUniqueness.PopulationUniquenessModel statisticalModel, ARXPopulationModel populationModel, ARXSolverConfiguration config) Creates a new instance of this criterion. Uses the specified method for estimating population uniqueness. This constructor will clone the population model, making further changes to it will not influence the results. The default accuracy is 10e-6 and the default maximal number of iterations is 1000.- Parameter:
riskThreshold-statisticalModel-populationModel-config-
-
-
Methodendetails
-
clone
Beschreibung aus Klasse kopiert:PrivacyCriterionClone- Angegeben von:
clonein KlassePrivacyCriterion
-
getPopulationModel
Beschreibung aus Klasse kopiert:PrivacyCriterionReturns the associated population model,nullif there is none.- Setzt außer Kraft:
getPopulationModelin KlassePrivacyCriterion- Gibt zurück:
- the populationModel
-
getRiskThresholdMarketer
public double getRiskThresholdMarketer()Return marketer risk threshold, 1 if there is none- Setzt außer Kraft:
getRiskThresholdMarketerin KlassePrivacyCriterion- Gibt zurück:
-
getStatisticalModel
- Gibt zurück:
- the statisticalModel
-
initialize
public void initialize(org.deidentifier.arx.framework.data.DataManager manager, ARXConfiguration config) Beschreibung aus Klasse kopiert:PrivacyCriterionOverride this to initialize the criterion.- Setzt außer Kraft:
initializein KlassePrivacyCriterion- Parameter:
manager-config- TODO
-
isLocalRecodingSupported
public boolean isLocalRecodingSupported()Beschreibung aus Klasse kopiert:PrivacyCriterionReturns whether the criterion supports local recoding.- Angegeben von:
isLocalRecodingSupportedin KlassePrivacyCriterion- Gibt zurück:
-
render
Beschreibung aus Klasse kopiert:PrivacyCriterionRenders the privacy model- Angegeben von:
renderin KlassePrivacyCriterion- Gibt zurück:
-
toString
Beschreibung aus Klasse kopiert:PrivacyCriterionReturns a string representation.- Angegeben von:
toStringin KlassePrivacyCriterion- Gibt zurück:
-