Package org.deidentifier.arx
Klasse ARXCostBenefitConfiguration
java.lang.Object
org.deidentifier.arx.ARXCostBenefitConfiguration
- Alle implementierten Schnittstellen:
Serializable
Basic configuration of monetary amounts, such as the publisher's benefit
per record or the per-record fine fine for a successful re-identification attack.
These parameters can be used to perform monetary cost/benefit analyses, e.g.
using a game-theoretic approach.
- Siehe auch:
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungclone()static ARXCostBenefitConfigurationcreate()Creates a new instancedoubleReturns the amount of money needed by an attacker for trying to re-identify a single recorddoubleReturns the amount of money earned by an attacker for successfully re-identifying a single recorddoubleReturns the amount of money earned by the data publisher for publishing a single recorddoubleReturns the amount of money lost by the data publisher, e.g. due to a fine, if a single record is attacked successfullysetAdversaryCost(double adversaryCost) Sets the amount of money needed by an attacker for trying to re-identify a single recordsetAdversaryGain(double adversaryGain) Sets the amount of money earned by an attacker for successfully re-identifying a single recordsetPublisherBenefit(double publisherBenefit) Sets the amount of money earned by the data publisher for publishing a single recordsetPublisherLoss(double publisherLoss) Sets the amount of money lost by the data publisher, e.g. due to a fine, if a single record is attacked successfullytoString()
-
Methodendetails
-
create
Creates a new instance- Gibt zurück:
-
clone
-
getAdversaryCost
public double getAdversaryCost()Returns the amount of money needed by an attacker for trying to re-identify a single record- Gibt zurück:
- the adversaryCost
-
getAdversaryGain
public double getAdversaryGain()Returns the amount of money earned by an attacker for successfully re-identifying a single record- Gibt zurück:
- the adversaryGain
-
getPublisherBenefit
public double getPublisherBenefit()Returns the amount of money earned by the data publisher for publishing a single record- Gibt zurück:
- the publisherBenefit
-
getPublisherLoss
public 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- Gibt zurück:
- the publisherLoss
-
setAdversaryCost
Sets the amount of money needed by an attacker for trying to re-identify a single record- Parameter:
adversaryCost- the adversaryCost to set
-
setAdversaryGain
Sets the amount of money earned by an attacker for successfully re-identifying a single record- Parameter:
adversaryGain- the adversaryGain to set
-
setPublisherBenefit
Sets the amount of money earned by the data publisher for publishing a single record- Parameter:
publisherBenefit- the publisherBenefit to set
-
setPublisherLoss
Sets the amount of money lost by the data publisher, e.g. due to a fine, if a single record is attacked successfully- Parameter:
publisherLoss- the publisherLoss to set
-
toString
-