# Uses of Class org.deidentifier.arx.framework.check.distribution.Distribution (ARX Developer Documentation)

## Uses of Class
org.deidentifier.arx.framework.check.distribution.Distribution

- Packages that use Distribution
  Package | Description
  --- | ---
  org.deidentifier.arx.framework.check.distribution | This package implements means for efficiently maintaining distributions of values for each equivalence class
  org.deidentifier.arx.framework.check.groupify | This package implements different hash-groupify operators.
  org.deidentifier.arx.metric.v2 |

- - ### Uses of Distribution in org.deidentifier.arx.framework.check.distribution

    Methods in org.deidentifier.arx.framework.check.distribution with parameters of type Distribution
    Modifier and Type | Method and Description
    --- | ---
    `protected <T> void` | DistributionAggregateFunction.`addAll(org.apache.commons.math3.stat.descriptive.DescriptiveStatistics statistics, Distribution distribution, DataType.DataTypeWithRatioScale<T> type, double offset)` Adds all values from the distribution to the given descriptive statistics object
    `abstract <T> java.lang.String` | DistributionAggregateFunction.`aggregate(Distribution distribution)` This function returns an aggregate value.
    `<T> java.lang.String` | DistributionAggregateFunction.DistributionAggregateFunctionArithmeticMean.`aggregate(Distribution distribution)`
    `<T> java.lang.String` | DistributionAggregateFunction.DistributionAggregateFunctionGeneralization.`aggregate(Distribution distribution)`
    `<T> java.lang.String` | DistributionAggregateFunction.DistributionAggregateFunctionGeometricMean.`aggregate(Distribution distribution)`
    `<T> java.lang.String` | DistributionAggregateFunction.DistributionAggregateFunctionInterval.`aggregate(Distribution distribution)`
    `<T> java.lang.String` | DistributionAggregateFunction.DistributionAggregateFunctionMedian.`aggregate(Distribution distribution)`
    `<T> java.lang.String` | DistributionAggregateFunction.DistributionAggregateFunctionMode.`aggregate(Distribution distribution)`
    `abstract <T> double` | DistributionAggregateFunction.`getError(Distribution distribution)` Returns the normalized error induced by aggregation.
    `<T> double` | DistributionAggregateFunction.DistributionAggregateFunctionArithmeticMean.`getError(Distribution distribution)`
    `<T> double` | DistributionAggregateFunction.DistributionAggregateFunctionGeneralization.`getError(Distribution distribution)`
    `<T> double` | DistributionAggregateFunction.DistributionAggregateFunctionGeometricMean.`getError(Distribution distribution)`
    `<T> double` | DistributionAggregateFunction.DistributionAggregateFunctionInterval.`getError(Distribution distribution)`
    `<T> double` | DistributionAggregateFunction.DistributionAggregateFunctionMedian.`getError(Distribution distribution)`
    `<T> double` | DistributionAggregateFunction.DistributionAggregateFunctionMode.`getError(Distribution distribution)`
    `<T> double` | DistributionAggregateFunction.`getInformationLoss(Distribution distribution)` This will return the normalized number of aggregated values in range [1/#distinct-values, 1].
    `void` | Distribution.`merge(Distribution other)` Merges two frequency sets.

  - ### Uses of Distribution in org.deidentifier.arx.framework.check.groupify

    Fields in org.deidentifier.arx.framework.check.groupify declared as Distribution
    Modifier and Type | Field and Description
    --- | ---
    `Distribution[]` | HashGroupifyEntry.`distributions` Frequency set for other attributes *.

    Methods in org.deidentifier.arx.framework.check.groupify with parameters of type Distribution
    Modifier and Type | Method and Description
    --- | ---
    `void` | HashGroupify.`addFromGroupify(int[] generalized, Distribution[] distributions, int representative, int count, int pcount)` Adds an entry from another groupify operator

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

    Methods in org.deidentifier.arx.metric.v2 with parameters of type Distribution
    Modifier and Type | Method and Description
    --- | ---
    `protected double` | AbstractMetricMultiDimensional.`getError(DistributionAggregateFunction function, Distribution distribution)` Returns the error induced by aggregating values in the distribution