# Uses of Class org.deidentifier.arx.ARXCostBenefitConfiguration (ARX Developer Documentation)

## Uses of Class
org.deidentifier.arx.ARXCostBenefitConfiguration

- Packages that use ARXCostBenefitConfiguration
  Package | Description
  --- | ---
  org.deidentifier.arx | This package provides the public API for the ARX anonymization framework.
  org.deidentifier.arx.criteria | This package implements different variants of class-based privacy criteria, such as k-anonymity, l-diversity, t-closeness and d-presence.
  org.deidentifier.arx.metric.v2 |
  org.deidentifier.arx.risk | This package provides methods for risk analyses

- - ### Uses of ARXCostBenefitConfiguration in org.deidentifier.arx

    Methods in org.deidentifier.arx that return ARXCostBenefitConfiguration
    Modifier and Type | Method and Description
    --- | ---
    `ARXCostBenefitConfiguration` | ARXCostBenefitConfiguration.`clone()`
    `static ARXCostBenefitConfiguration` | ARXCostBenefitConfiguration.`create()` Creates a new instance
    `ARXCostBenefitConfiguration` | ARXConfiguration.`getCostBenefitConfiguration()` Returns the cost/benefit configuration
    `ARXCostBenefitConfiguration` | ARXCostBenefitConfiguration.`setAdversaryCost(double adversaryCost)` Sets the amount of money needed by an attacker for trying to re-identify a single record
    `ARXCostBenefitConfiguration` | ARXCostBenefitConfiguration.`setAdversaryGain(double adversaryGain)` Sets the amount of money earned by an attacker for successfully re-identifying a single record
    `ARXCostBenefitConfiguration` | ARXCostBenefitConfiguration.`setPublisherBenefit(double publisherBenefit)` Sets the amount of money earned by the data publisher for publishing a single record
    `ARXCostBenefitConfiguration` | ARXCostBenefitConfiguration.`setPublisherLoss(double publisherLoss)` Sets the amount of money lost by the data publisher, e.g.

    Methods in org.deidentifier.arx with parameters of type ARXCostBenefitConfiguration
    Modifier and Type | Method and Description
    --- | ---
    `ARXConfiguration` | ARXConfiguration.`setCostBenefitConfiguration(ARXCostBenefitConfiguration config)` Sets the cost/benefit configuration

  - ### Uses of ARXCostBenefitConfiguration in org.deidentifier.arx.criteria

    Methods in org.deidentifier.arx.criteria that return ARXCostBenefitConfiguration
    Modifier and Type | Method and Description
    --- | ---
    `protected ARXCostBenefitConfiguration` | ProfitabilityProsecutorNoAttack.`getConfiguration()` Returns the current configuration
    `protected ARXCostBenefitConfiguration` | ProfitabilityProsecutor.`getConfiguration()` Returns the current configuration

  - ### Uses of ARXCostBenefitConfiguration in org.deidentifier.arx.metric.v2

    Methods in org.deidentifier.arx.metric.v2 that return ARXCostBenefitConfiguration
    Modifier and Type | Method and Description
    --- | ---
    `ARXCostBenefitConfiguration` | MetricSDNMPublisherPayout.`getCostBenefitConfiguration()` Returns the cost/benefit configuration

  - ### Uses of ARXCostBenefitConfiguration in org.deidentifier.arx.risk

    Constructors in org.deidentifier.arx.risk with parameters of type ARXCostBenefitConfiguration
    Constructor and Description
    `RiskModelCostBenefit(ARXCostBenefitConfiguration configuration)` Creates a new instance