public class AverageReidentificationRisk extends RiskBasedCriterion
Constructor and Description |
---|
AverageReidentificationRisk(double riskThreshold)
Creates a new instance of this model.
|
AverageReidentificationRisk(double averageRisk,
double highestRisk,
double recordsAtRisk)
Creates a new instance of a relaxed variant of this model with average risk,
highest risk and the fraction of records with a risk exceeding the highest risk.
|
Modifier and Type | Method and Description |
---|---|
AverageReidentificationRisk |
clone()
Clone
|
double |
getAverageRisk() |
double |
getEffectiveHighestRisk()
Returns the effective highest risk, i.e. the threshold that is actually being used by the software.
|
double |
getHighestRisk()
Returns the threshold set by the user.
|
double |
getRecordsAtRisk() |
double |
getRiskThresholdMarketer()
Return marketer risk threshold, 1 if there is none
|
boolean |
isLocalRecodingSupported()
Returns whether the criterion supports local recoding.
|
ElementData |
render()
Renders the privacy model
|
java.lang.String |
toString()
Returns a string representation.
|
enforce, getRequirements, getRiskThreshold
isAnonymous, isSampleBased
clone, getDataSubset, getMinimalClassSize, getPopulationModel, getRiskThresholdJournalist, getRiskThresholdProsecutor, getSubset, initialize, isHeuristicSearchSupported, isHeuristicSearchWithTimeLimitSupported, isMinimalClassSizeAvailable, isMonotonicWithGeneralization, isMonotonicWithSuppression, isOptimalSearchSupported, isSubsetAvailable
public AverageReidentificationRisk(double riskThreshold)
riskThreshold
- public AverageReidentificationRisk(double averageRisk, double highestRisk, double recordsAtRisk)
getEffectiveHighestRisk()
averageRisk
- highestRisk
- recordsAtRisk
- public AverageReidentificationRisk clone()
PrivacyCriterion
clone
in class PrivacyCriterion
public double getAverageRisk()
public double getEffectiveHighestRisk()
public double getHighestRisk()
public double getRecordsAtRisk()
public double getRiskThresholdMarketer()
getRiskThresholdMarketer
in class PrivacyCriterion
public boolean isLocalRecodingSupported()
PrivacyCriterion
isLocalRecodingSupported
in class PrivacyCriterion
public ElementData render()
PrivacyCriterion
render
in class PrivacyCriterion
public java.lang.String toString()
PrivacyCriterion
toString
in class PrivacyCriterion