public class EDDifferentialPrivacy extends ImplicitPrivacyCriterion
| Constructor and Description |
|---|
EDDifferentialPrivacy(double epsilon,
double delta)
Creates a new data-dependent instance
|
EDDifferentialPrivacy(double epsilon,
double delta,
DataGeneralizationScheme generalization)
Creates a new instance which is data-independent iff generalization is not null
|
EDDifferentialPrivacy(double epsilon,
double delta,
DataGeneralizationScheme generalization,
boolean deterministic)
Creates a new instance which may be configured to produce deterministic output.
|
| Modifier and Type | Method and Description |
|---|---|
EDDifferentialPrivacy |
clone()
Clone
|
double |
getBeta()
Returns the beta parameter of (k,b)-SDGS
|
DataSubset |
getDataSubset()
If a privacy model uses a data subset, it must overwrite this method
|
double |
getDelta()
Returns the delta parameter of (e,d)-DP
|
double |
getEpsilon()
Returns the epsilon parameter of (e,d)-DP
|
DataGeneralizationScheme |
getGeneralizationScheme()
Returns the defined generalization scheme
|
int |
getK()
Returns the k parameter of (k,b)-SDGS
|
int |
getMinimalClassSize()
If a privacy model provides a prosecutor risk threshold, it should override this method to enable optimizations
|
int |
getRequirements()
Returns the criterion's requirements.
|
void |
initialize(org.deidentifier.arx.framework.data.DataManager manager,
ARXConfiguration config)
Override this to initialize the criterion.
|
boolean |
isAnonymous(org.deidentifier.arx.framework.lattice.Transformation<?> node,
org.deidentifier.arx.framework.check.groupify.HashGroupifyEntry entry)
Implement this, to enforce the criterion.
|
boolean |
isDataDependent()
Returns whether this instance is data-dependent
|
boolean |
isDeterministic()
Returns whether this instance is deterministic
|
boolean |
isHeuristicSearchSupported()
Returns whether the criterion supports heuristic search strategies.
|
boolean |
isHeuristicSearchWithTimeLimitSupported()
Returns whether the criterion supports heuristic search strategies with time limits.
|
boolean |
isLocalRecodingSupported()
Returns whether the criterion supports local recoding.
|
boolean |
isMinimalClassSizeAvailable()
If a privacy model provides a prosecutor risk threshold, it should override this method to enable optimizations
|
boolean |
isOptimalSearchSupported()
Returns whether the criterion supports optimal search strategies.
|
boolean |
isSubsetAvailable()
If a privacy model uses a data subset, it must overwrite this method
|
ElementData |
render()
Renders the privacy model
|
java.lang.String |
toString()
Returns a string representation.
|
clone, getPopulationModel, getRiskThresholdJournalist, getRiskThresholdMarketer, getRiskThresholdProsecutor, getSubset, isMonotonicWithGeneralization, isMonotonicWithSuppression, isSampleBasedpublic EDDifferentialPrivacy(double epsilon,
double delta,
DataGeneralizationScheme generalization)
epsilon - delta - generalization - public EDDifferentialPrivacy(double epsilon,
double delta)
epsilon - delta - public EDDifferentialPrivacy(double epsilon,
double delta,
DataGeneralizationScheme generalization,
boolean deterministic)
epsilon - delta - generalization - deterministic - public EDDifferentialPrivacy clone()
PrivacyCriterionclone in class PrivacyCriterionpublic double getBeta()
public DataSubset getDataSubset()
PrivacyCriteriongetDataSubset in class PrivacyCriterionpublic double getDelta()
public double getEpsilon()
public DataGeneralizationScheme getGeneralizationScheme()
public int getK()
public int getMinimalClassSize()
PrivacyCriteriongetMinimalClassSize in class PrivacyCriterionpublic int getRequirements()
PrivacyCriteriongetRequirements in class PrivacyCriterionpublic void initialize(org.deidentifier.arx.framework.data.DataManager manager,
ARXConfiguration config)
PrivacyCriterioninitialize in class PrivacyCriterionconfig - TODOpublic boolean isAnonymous(org.deidentifier.arx.framework.lattice.Transformation<?> node,
org.deidentifier.arx.framework.check.groupify.HashGroupifyEntry entry)
PrivacyCriterionisAnonymous in class PrivacyCriterionnode - TODOpublic boolean isDataDependent()
public boolean isDeterministic()
public boolean isHeuristicSearchSupported()
PrivacyCriterionisHeuristicSearchSupported in class PrivacyCriterionpublic boolean isHeuristicSearchWithTimeLimitSupported()
PrivacyCriterionisHeuristicSearchWithTimeLimitSupported in class PrivacyCriterionpublic boolean isOptimalSearchSupported()
PrivacyCriterionisOptimalSearchSupported in class PrivacyCriterionpublic boolean isLocalRecodingSupported()
PrivacyCriterionisLocalRecodingSupported in class PrivacyCriterionpublic boolean isMinimalClassSizeAvailable()
PrivacyCriterionisMinimalClassSizeAvailable in class PrivacyCriterionpublic boolean isSubsetAvailable()
PrivacyCriterionisSubsetAvailable in class PrivacyCriterionpublic ElementData render()
PrivacyCriterionrender in class PrivacyCriterionpublic java.lang.String toString()
PrivacyCriteriontoString in class PrivacyCriterion