public class BasicBLikeness extends ExplicitPrivacyCriterion
attribute, index
Constructor and Description |
---|
BasicBLikeness(java.lang.String attribute,
double beta)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
BasicBLikeness |
clone()
Clone
|
double |
getB()
Returns the parameter beta.
|
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 |
isLocalRecodingSupported()
Returns whether the criterion supports local recoding.
|
ElementData |
render()
Renders the privacy model
|
java.lang.String |
toString()
Returns a string representation.
|
getAttribute
clone, getDataSubset, getMinimalClassSize, getPopulationModel, getRiskThresholdJournalist, getRiskThresholdMarketer, getRiskThresholdProsecutor, getSubset, isMinimalClassSizeAvailable, isMonotonicWithGeneralization, isMonotonicWithSuppression, isSampleBased, isSubsetAvailable
public BasicBLikeness(java.lang.String attribute, double beta)
attribute
- beta
- public BasicBLikeness clone()
PrivacyCriterion
clone
in class PrivacyCriterion
public double getB()
public int getRequirements()
PrivacyCriterion
getRequirements
in class PrivacyCriterion
public void initialize(org.deidentifier.arx.framework.data.DataManager manager, ARXConfiguration config)
PrivacyCriterion
initialize
in class ExplicitPrivacyCriterion
config
- TODOpublic boolean isAnonymous(org.deidentifier.arx.framework.lattice.Transformation node, org.deidentifier.arx.framework.check.groupify.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