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 |
getMinimalClassSize()
If a privacy model provides a prosecutor risk threshold, it should override this method to enable optimizations
|
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
|
boolean |
isMinimalClassSizeAvailable()
If a privacy model provides a prosecutor risk threshold, it should override this method to enable optimizations
|
getAttribute, initializeclone, clone, getDataSubset, getPopulationModel, getSubset, isAnonymous, isHeuristicSearchSupported, isHeuristicSearchWithTimeLimitSupported, isLocalRecodingSupported, isMonotonicWithGeneralization, isMonotonicWithSuppression, isOptimalSearchSupported, isSampleBased, isSubsetAvailable, render, toStringprotected 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 getMinimalClassSize()
PrivacyCriteriongetMinimalClassSize in class PrivacyCriterionpublic int getRequirements()
PrivacyCriteriongetRequirements in class PrivacyCriterionpublic double getRiskThresholdJournalist()
getRiskThresholdJournalist in class PrivacyCriterionpublic double getRiskThresholdMarketer()
getRiskThresholdMarketer in class PrivacyCriterionpublic double getRiskThresholdProsecutor()
getRiskThresholdProsecutor in class PrivacyCriterionpublic boolean isMinimalClassSizeAvailable()
PrivacyCriterionisMinimalClassSizeAvailable in class PrivacyCriterion