public abstract class LDiversity extends ExplicitPrivacyCriterion
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, initialize
clone, clone, getDataSubset, getPopulationModel, getSubset, isAnonymous, isHeuristicSearchSupported, isHeuristicSearchWithTimeLimitSupported, isLocalRecodingSupported, isMonotonicWithGeneralization, isMonotonicWithSuppression, isOptimalSearchSupported, isSampleBased, isSubsetAvailable, render, toString
public LDiversity(java.lang.String attribute, double l, boolean monotonicWithSuppression, boolean monotonicWithGeneralization)
attribute
- l
- monotonicWithSuppression
- monotonicWithGeneralization
- public double getL()
public int getMinimalClassSize()
PrivacyCriterion
getMinimalClassSize
in class PrivacyCriterion
public int getRequirements()
PrivacyCriterion
getRequirements
in class PrivacyCriterion
public double getRiskThresholdJournalist()
getRiskThresholdJournalist
in class PrivacyCriterion
public double getRiskThresholdMarketer()
getRiskThresholdMarketer
in class PrivacyCriterion
public double getRiskThresholdProsecutor()
getRiskThresholdProsecutor
in class PrivacyCriterion
public boolean isMinimalClassSizeAvailable()
PrivacyCriterion
isMinimalClassSizeAvailable
in class PrivacyCriterion