public class EqualDistanceTCloseness extends TCloseness
t
attribute, index
Constructor and Description |
---|
EqualDistanceTCloseness(java.lang.String attribute,
double t)
Creates a new instance of the t-closeness criterion with equal earth-movers-distance as proposed in:
Li N, Li T, Venkatasubramanian S.
|
Modifier and Type | Method and Description |
---|---|
EqualDistanceTCloseness |
clone()
Clone
|
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.
|
getRequirements, getT
getAttribute
getPopulationModel, getRiskThresholdJournalist, getRiskThresholdMarketer, getRiskThresholdProsecutor, getSubset, isMonotonicWithGeneralization, isMonotonicWithSuppression, isSampleBased
public EqualDistanceTCloseness(java.lang.String attribute, double t)
attribute
- t
- public EqualDistanceTCloseness clone()
PrivacyCriterion
clone
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