public class DDisclosurePrivacy extends ExplicitPrivacyCriterion
Constructor and Description |
---|
DDisclosurePrivacy(java.lang.String attribute,
double delta)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
DDisclosurePrivacy |
clone()
Clone
|
double |
getD()
Returns the parameter delta.
|
int |
getRequirements()
Returns the criterion's requirements.
|
void |
initialize(org.deidentifier.arx.framework.data.DataManager manager)
Override this to initialize the criterion.
|
boolean |
isAnonymous(org.deidentifier.arx.framework.check.groupify.HashGroupifyEntry entry)
Implement this, to enforce the criterion.
|
boolean |
isLocalRecodingSupported()
Returns whether the criterion supports local recoding.
|
java.lang.String |
toString()
Returns a string representation.
|
getAttribute
getPopulationModel, getRiskThresholdJournalist, getRiskThresholdMarketer, getRiskThresholdProsecutor, getSubset, isMonotonicWithGeneralization, isMonotonicWithSuppression, isSampleBased
public DDisclosurePrivacy(java.lang.String attribute, double delta)
attribute
- delta
- public DDisclosurePrivacy clone()
PrivacyCriterion
clone
in class PrivacyCriterion
public double getD()
public int getRequirements()
PrivacyCriterion
getRequirements
in class PrivacyCriterion
public void initialize(org.deidentifier.arx.framework.data.DataManager manager)
PrivacyCriterion
initialize
in class ExplicitPrivacyCriterion
public boolean isAnonymous(org.deidentifier.arx.framework.check.groupify.HashGroupifyEntry entry)
PrivacyCriterion
isAnonymous
in class PrivacyCriterion
public boolean isLocalRecodingSupported()
PrivacyCriterion
isLocalRecodingSupported
in class PrivacyCriterion
public java.lang.String toString()
PrivacyCriterion
toString
in class PrivacyCriterion