public class EqualDistanceTCloseness extends TCloseness
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(DataManager manager,
ARXConfiguration config)
Override this to initialize the criterion.
|
boolean |
isAnonymous(Transformation<?> node,
HashGroupifyEntry entry)
Implement this, to enforce the criterion.
|
boolean |
isLocalRecodingSupported()
Returns whether the criterion supports local recoding.
|
ElementData |
render()
Renders the privacy model
|
java.lang.String |
toString()
Returns a string representation.
|
getRequirements, getT
getAttribute
clone, getDataSubset, getMinimalClassSize, getPopulationModel, getRiskThresholdJournalist, getRiskThresholdMarketer, getRiskThresholdProsecutor, getSubset, isHeuristicSearchSupported, isHeuristicSearchWithTimeLimitSupported, isMinimalClassSizeAvailable, isMonotonicWithGeneralization, isMonotonicWithSuppression, isOptimalSearchSupported, isSampleBased, isSubsetAvailable
public EqualDistanceTCloseness(java.lang.String attribute, double t)
attribute
- t
- public EqualDistanceTCloseness clone()
PrivacyCriterion
clone
in class PrivacyCriterion
public void initialize(DataManager manager, ARXConfiguration config)
PrivacyCriterion
initialize
in class ExplicitPrivacyCriterion
config
- TODOpublic boolean isAnonymous(Transformation<?> node, HashGroupifyEntry entry)
PrivacyCriterion
isAnonymous
in class PrivacyCriterion
node
- TODOpublic boolean isLocalRecodingSupported()
PrivacyCriterion
isLocalRecodingSupported
in class PrivacyCriterion
public ElementData render()
PrivacyCriterion
render
in class PrivacyCriterion
public java.lang.String toString()
PrivacyCriterion
toString
in class PrivacyCriterion