# Uses of Interface org.deidentifier.arx.metric.v2.DomainShare (ARX Developer Documentation)

## Uses of Interface
org.deidentifier.arx.metric.v2.DomainShare

- Packages that use DomainShare
  Package | Description
  --- | ---
  org.deidentifier.arx.framework.data | This package implements data management, i.e., encoding and representing input data, output data and generalization hierarchies
  org.deidentifier.arx.metric.v2 |

- - ### Uses of DomainShare in org.deidentifier.arx.framework.data

    Methods in org.deidentifier.arx.framework.data that return DomainShare
    Modifier and Type | Method and Description
    --- | ---
    `DomainShare[]` | DataManager.`getDomainShares()`

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

    Classes in org.deidentifier.arx.metric.v2 that implement DomainShare
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DomainShareInterval<T>` This class represents a set of domain shares for an attribute.
    `class` | `DomainShareMaterialized` This class represents a set of domain shares for an attribute.
    `class` | `DomainShareRedaction` This class represents a set of domain shares for an attribute.

    Methods in org.deidentifier.arx.metric.v2 that return DomainShare
    Modifier and Type | Method and Description
    --- | ---
    `DomainShare` | DomainShare.`clone()` Clones the share
    `protected DomainShare[]` | MetricSDNMEntropyBasedInformationLoss.`getShares()` For subclasses.
    `protected DomainShare[]` | MetricSDNMAmbiguity.`getShares()` For subclasses.
    `protected DomainShare[]` | MetricMDNMLoss.`getShares()` For subclasses.

    Methods in org.deidentifier.arx.metric.v2 with parameters of type DomainShare
    Modifier and Type | Method and Description
    --- | ---
    `static double` | MetricSDNMEntropyBasedInformationLoss.`getEntropyBasedInformationLoss(Transformation transformation, HashGroupifyEntry entry, DomainShare[] shares, DistributionAggregateFunction[] microaggregationFunctions, int microaggregationStartIndex, double maxIL)` Implements the entropy-based IL model.
    `static double` | MetricSDNMEntropyBasedInformationLoss.`getMaximalEntropyBasedInformationLoss(DomainShare[] domainShares, int[] domainSizes)` Returns the maximal entropy-based information loss