public abstract class LDiversity extends ExplicitPrivacyCriterion
Constructor and Description |
---|
LDiversity(java.lang.String attribute,
double l,
boolean monotonic)
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
isAnonymous, isMonotonic, isSampleBased, toString
public LDiversity(java.lang.String attribute, double l, boolean monotonic)
attribute
- l
- monotonic
- public double getL()
public int getMinimalGroupSize()
public int getRequirements()
PrivacyCriterion
getRequirements
in class PrivacyCriterion