public class HierarchicalDistanceTCloseness extends TCloseness
| Constructor and Description |
|---|
HierarchicalDistanceTCloseness(java.lang.String attribute,
double t,
AttributeType.Hierarchy h)
Creates a new instance of the t-closeness criterion with hierarchical earth-movers-distance as proposed in:
Li N, Li T, Venkatasubramanian S.
|
| Modifier and Type | Method and Description |
|---|---|
HierarchicalDistanceTCloseness |
clone()
Clone
|
AttributeType.Hierarchy |
getHierarchy()
Returns the hierarchy backing the EMD calculations.
|
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 |
isLocalRecodingSupported()
Returns whether the criterion supports local recoding.
|
ElementData |
render()
Renders the privacy model
|
java.lang.String |
toString()
Returns a string representation.
|
getRequirements, getTgetAttributeclone, getDataSubset, getMinimalClassSize, getPopulationModel, getRiskThresholdJournalist, getRiskThresholdMarketer, getRiskThresholdProsecutor, getSubset, isHeuristicSearchSupported, isHeuristicSearchWithTimeLimitSupported, isMinimalClassSizeAvailable, isMonotonicWithGeneralization, isMonotonicWithSuppression, isOptimalSearchSupported, isSampleBased, isSubsetAvailablepublic HierarchicalDistanceTCloseness(java.lang.String attribute,
double t,
AttributeType.Hierarchy h)
attribute - t - h - public HierarchicalDistanceTCloseness clone()
PrivacyCriterionclone in class PrivacyCriterionpublic AttributeType.Hierarchy getHierarchy()
public void initialize(org.deidentifier.arx.framework.data.DataManager manager,
ARXConfiguration config)
PrivacyCriterioninitialize in class ExplicitPrivacyCriterionconfig - TODOpublic boolean isAnonymous(org.deidentifier.arx.framework.lattice.Transformation<?> node,
org.deidentifier.arx.framework.check.groupify.HashGroupifyEntry entry)
PrivacyCriterionisAnonymous in class PrivacyCriterionnode - TODOpublic boolean isLocalRecodingSupported()
PrivacyCriterionisLocalRecodingSupported in class PrivacyCriterionpublic ElementData render()
PrivacyCriterionrender in class PrivacyCriterionpublic java.lang.String toString()
PrivacyCriteriontoString in class PrivacyCriterion