public abstract class PrivacyCriterion
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
PrivacyCriterion(boolean monotonic)
Instantiates a new criterion.
|
Modifier and Type | Method and Description |
---|---|
abstract int |
getRequirements()
Returns the criterion's requirements.
|
void |
initialize(DataManager manager)
Override this to initialize the criterion.
|
abstract boolean |
isAnonymous(HashGroupifyEntry entry)
Implement this, to enforce the criterion.
|
boolean |
isMonotonic()
Returns whether the criterion is monotonic with tuple suppression.
|
boolean |
isSampleBased()
Is this criterion based on the overall sample
|
abstract java.lang.String |
toString()
Returns a string representation.
|
public PrivacyCriterion(boolean monotonic)
monotonic
- public abstract int getRequirements()
public void initialize(DataManager manager)
manager
- public abstract boolean isAnonymous(HashGroupifyEntry entry)
entry
- public boolean isMonotonic()
public boolean isSampleBased()
public abstract java.lang.String toString()
toString
in class java.lang.Object