public abstract class LDiversity extends ExplicitPrivacyCriterion
Modifier and Type | Field and Description |
---|---|
protected double |
l
The parameter l.
|
protected int |
minSize
The derived minimal size of a class
|
attribute, index
Constructor and Description |
---|
LDiversity(java.lang.String attribute,
double l,
boolean monotonicWithSuppression,
boolean monotonicWithGeneralization)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
double |
getL()
Returns the parameter l.
|
int |
getMinimalGroupSize()
Returns the minimal group size required to fulfill this criterion.
|
int |
getRequirements()
Returns the criterion's requirements.
|
double |
getRiskThresholdJournalist()
Return journalist risk threshold, 1 if there is none
|
double |
getRiskThresholdMarketer()
Return marketer risk threshold, 1 if there is none
|
double |
getRiskThresholdProsecutor()
Return prosecutor risk threshold, 1 if there is none
|
getAttribute, initialize
clone, getPopulationModel, getSubset, isAnonymous, isLocalRecodingSupported, isMonotonicWithGeneralization, isMonotonicWithSuppression, isSampleBased, toString
protected final double l
protected final int minSize
public LDiversity(java.lang.String attribute, double l, boolean monotonicWithSuppression, boolean monotonicWithGeneralization)
attribute
- l
- monotonicWithSuppression
- monotonicWithGeneralization
- public double getL()
public int getMinimalGroupSize()
public int getRequirements()
PrivacyCriterion
getRequirements
in class PrivacyCriterion
public double getRiskThresholdProsecutor()
getRiskThresholdProsecutor
in class PrivacyCriterion
public double getRiskThresholdJournalist()
getRiskThresholdJournalist
in class PrivacyCriterion
public double getRiskThresholdMarketer()
getRiskThresholdMarketer
in class PrivacyCriterion