public abstract class PrivacyCriterion
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
PrivacyCriterion(boolean monotonicWithSuppression,
boolean monotonicWithGeneralization)
Instantiates a new criterion.
|
Modifier and Type | Method and Description |
---|---|
abstract PrivacyCriterion |
clone()
Clone
|
ARXPopulationModel |
getPopulationModel()
Returns the associated population model,
null if there is none. |
abstract 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
|
DataSubset |
getSubset()
Returns a research subset,
null if no subset is available |
void |
initialize(DataManager manager)
Override this to initialize the criterion.
|
abstract boolean |
isAnonymous(HashGroupifyEntry entry)
Implement this, to enforce the criterion.
|
abstract boolean |
isLocalRecodingSupported()
Returns whether the criterion supports local recoding.
|
boolean |
isMonotonicWithGeneralization()
Returns whether the criterion is monotonic with generalization.
|
boolean |
isMonotonicWithSuppression()
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 monotonicWithSuppression, boolean monotonicWithGeneralization)
monotonicWithSuppression
- monotonicWithGeneralization
- public abstract PrivacyCriterion clone()
clone
in class java.lang.Object
public ARXPopulationModel getPopulationModel()
null
if there is none.public abstract int getRequirements()
public double getRiskThresholdJournalist()
public double getRiskThresholdMarketer()
public double getRiskThresholdProsecutor()
public void initialize(DataManager manager)
manager
- public DataSubset getSubset()
null
if no subset is availablepublic abstract boolean isAnonymous(HashGroupifyEntry entry)
entry
- public abstract boolean isLocalRecodingSupported()
public boolean isMonotonicWithGeneralization()
public boolean isMonotonicWithSuppression()
public boolean isSampleBased()
public abstract java.lang.String toString()
toString
in class java.lang.Object