public class ARXCostBenefitConfiguration
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
ARXCostBenefitConfiguration |
clone() |
static ARXCostBenefitConfiguration |
create()
Creates a new instance
|
double |
getAdversaryCost()
Returns the amount of money needed by an attacker for trying to re-identify a single record
|
double |
getAdversaryGain()
Returns the amount of money earned by an attacker for successfully re-identifying a single record
|
double |
getPublisherBenefit()
Returns the amount of money earned by the data publisher for publishing a single record
|
double |
getPublisherLoss()
Returns the amount of money lost by the data publisher, e.g. due to a fine, if a single record is attacked successfully
|
ARXCostBenefitConfiguration |
setAdversaryCost(double adversaryCost)
Sets the amount of money needed by an attacker for trying to re-identify a single record
|
ARXCostBenefitConfiguration |
setAdversaryGain(double adversaryGain)
Sets the amount of money earned by an attacker for successfully re-identifying a single record
|
ARXCostBenefitConfiguration |
setPublisherBenefit(double publisherBenefit)
Sets the amount of money earned by the data publisher for publishing a single record
|
ARXCostBenefitConfiguration |
setPublisherLoss(double publisherLoss)
Sets the amount of money lost by the data publisher, e.g. due to a fine, if a single record is attacked successfully
|
java.lang.String |
toString() |
public static ARXCostBenefitConfiguration create()
public ARXCostBenefitConfiguration clone()
clone
in class java.lang.Object
public double getAdversaryCost()
public double getAdversaryGain()
public double getPublisherBenefit()
public double getPublisherLoss()
public ARXCostBenefitConfiguration setAdversaryCost(double adversaryCost)
adversaryCost
- the adversaryCost to setpublic ARXCostBenefitConfiguration setAdversaryGain(double adversaryGain)
adversaryGain
- the adversaryGain to setpublic ARXCostBenefitConfiguration setPublisherBenefit(double publisherBenefit)
publisherBenefit
- the publisherBenefit to setpublic ARXCostBenefitConfiguration setPublisherLoss(double publisherLoss)
publisherLoss
- the publisherLoss to setpublic java.lang.String toString()
toString
in class java.lang.Object