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.
|
getAttribute, initialize
clone, isAnonymous, 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