public class ProfitabilityProsecutorNoAttack extends ImplicitPrivacyCriterion
Constructor and Description |
---|
ProfitabilityProsecutorNoAttack()
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
PrivacyCriterion |
clone()
Clone
|
PrivacyCriterion |
clone(DataSubset subset)
Clone for local recoding
|
DataSubset |
getDataSubset()
If a privacy model uses a data subset, it must overwrite this method
|
int |
getK()
Returns the parameter k
|
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
|
void |
initialize(DataManager manager,
ARXConfiguration config)
Override this to initialize the criterion.
|
boolean |
isAnonymous(Transformation<?> node,
HashGroupifyEntry entry)
Implement this, to enforce the criterion.
|
boolean |
isLocalRecodingSupported()
Returns whether the criterion supports local recoding.
|
boolean |
isMinimalClassSizeAvailable()
If a privacy model provides a prosecutor risk threshold, it should override this method to enable optimizations
|
boolean |
isSubsetAvailable()
If a privacy model uses a data subset, it must overwrite this method
|
ElementData |
render()
Renders the privacy model
|
java.lang.String |
toString()
Returns a string representation.
|
getPopulationModel, getSubset, isHeuristicSearchSupported, isHeuristicSearchWithTimeLimitSupported, isMonotonicWithGeneralization, isMonotonicWithSuppression, isOptimalSearchSupported, isSampleBased
public ProfitabilityProsecutorNoAttack()
config
- public PrivacyCriterion clone()
PrivacyCriterion
clone
in class PrivacyCriterion
public PrivacyCriterion clone(DataSubset subset)
PrivacyCriterion
clone
in class PrivacyCriterion
public DataSubset getDataSubset()
PrivacyCriterion
getDataSubset
in class PrivacyCriterion
public int getK()
public int getMinimalClassSize()
PrivacyCriterion
getMinimalClassSize
in class PrivacyCriterion
public int getRequirements()
PrivacyCriterion
getRequirements
in class PrivacyCriterion
public double getRiskThresholdJournalist()
PrivacyCriterion
getRiskThresholdJournalist
in class PrivacyCriterion
public double getRiskThresholdMarketer()
PrivacyCriterion
getRiskThresholdMarketer
in class PrivacyCriterion
public double getRiskThresholdProsecutor()
PrivacyCriterion
getRiskThresholdProsecutor
in class PrivacyCriterion
public void initialize(DataManager manager, ARXConfiguration config)
PrivacyCriterion
initialize
in class PrivacyCriterion
config
- TODOpublic boolean isAnonymous(Transformation<?> node, HashGroupifyEntry entry)
PrivacyCriterion
isAnonymous
in class PrivacyCriterion
node
- TODOpublic boolean isLocalRecodingSupported()
PrivacyCriterion
isLocalRecodingSupported
in class PrivacyCriterion
public boolean isMinimalClassSizeAvailable()
PrivacyCriterion
isMinimalClassSizeAvailable
in class PrivacyCriterion
public boolean isSubsetAvailable()
PrivacyCriterion
isSubsetAvailable
in class PrivacyCriterion
public ElementData render()
PrivacyCriterion
render
in class PrivacyCriterion
public java.lang.String toString()
PrivacyCriterion
toString
in class PrivacyCriterion