# Uses of Class org.deidentifier.arx.framework.data.GeneralizationHierarchy (ARX Developer Documentation)

## Uses of Class
org.deidentifier.arx.framework.data.GeneralizationHierarchy

- Packages that use GeneralizationHierarchy
  Package | Description
  --- | ---
  org.deidentifier.arx.algorithm | This package provides algorithms which traverse the generalization lattice.
  org.deidentifier.arx.framework.check | This package implements the core functionality of the ARX framework, i.e., a highly efficient check for k-anonymity
  org.deidentifier.arx.framework.check.transformer | This package provides several transformers that efficiently implement the 'projection' optimization.
  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 | This package implements several metrics for information loss.
  org.deidentifier.arx.metric.v2 |

- - ### Uses of GeneralizationHierarchy in org.deidentifier.arx.algorithm

    Constructors in org.deidentifier.arx.algorithm with parameters of type GeneralizationHierarchy
    Constructor and Description
    `FLASHStrategy(SolutionSpace solutionSpace, GeneralizationHierarchy[] hierarchies)` Creates a new instance.

  - ### Uses of GeneralizationHierarchy in org.deidentifier.arx.framework.check

    Fields in org.deidentifier.arx.framework.check declared as GeneralizationHierarchy
    Modifier and Type | Field and Description
    --- | ---
    `protected GeneralizationHierarchy[]` | Transformer.`hierarchies` The hierarchies.

    Constructors in org.deidentifier.arx.framework.check with parameters of type GeneralizationHierarchy
    Constructor and Description
    `Transformer(int[][] inputGeneralized, int[][] inputAnalyzed, GeneralizationHierarchy[] hierarchies, ARXConfiguration.ARXConfigurationInternal config, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq)` Instantiates a new transformer.

  - ### Uses of GeneralizationHierarchy in org.deidentifier.arx.framework.check.transformer

    Fields in org.deidentifier.arx.framework.check.transformer declared as GeneralizationHierarchy
    Modifier and Type | Field and Description
    --- | ---
    `protected GeneralizationHierarchy[]` | AbstractTransformer.`hierarchies` The hierarchies.

    Constructors in org.deidentifier.arx.framework.check.transformer with parameters of type GeneralizationHierarchy
    Constructor and Description
    `AbstractTransformer(int[][] data, GeneralizationHierarchy[] hierarchies, int[][] otherData, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq, ARXConfiguration.ARXConfigurationInternal config)` Instantiates a new abstract transformer.
    `Transformer01(int[][] data, GeneralizationHierarchy[] hierarchies, int[][] otherValues, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq, ARXConfiguration.ARXConfigurationInternal config)` Instantiates a new transformer.
    `Transformer02(int[][] data, GeneralizationHierarchy[] hierarchies, int[][] otherValues, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq, ARXConfiguration.ARXConfigurationInternal config)` Instantiates a new transformer.
    `Transformer03(int[][] data, GeneralizationHierarchy[] hierarchies, int[][] otherValues, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq, ARXConfiguration.ARXConfigurationInternal config)` Instantiates a new transformer.
    `Transformer04(int[][] data, GeneralizationHierarchy[] hierarchies, int[][] otherValues, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq, ARXConfiguration.ARXConfigurationInternal config)` Instantiates a new transformer.
    `Transformer05(int[][] data, GeneralizationHierarchy[] hierarchies, int[][] otherValues, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq, ARXConfiguration.ARXConfigurationInternal config)` Instantiates a new transformer.
    `Transformer06(int[][] data, GeneralizationHierarchy[] hierarchies, int[][] otherValues, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq, ARXConfiguration.ARXConfigurationInternal config)` Instantiates a new transformer.
    `Transformer07(int[][] data, GeneralizationHierarchy[] hierarchies, int[][] otherValues, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq, ARXConfiguration.ARXConfigurationInternal config)` Instantiates a new transformer.
    `Transformer08(int[][] data, GeneralizationHierarchy[] hierarchies, int[][] otherValues, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq, ARXConfiguration.ARXConfigurationInternal config)` Instantiates a new transformer.
    `Transformer09(int[][] data, GeneralizationHierarchy[] hierarchies, int[][] otherValues, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq, ARXConfiguration.ARXConfigurationInternal config)` Instantiates a new transformer.
    `Transformer10(int[][] data, GeneralizationHierarchy[] hierarchies, int[][] otherValues, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq, ARXConfiguration.ARXConfigurationInternal config)` Instantiates a new transformer.
    `Transformer11(int[][] data, GeneralizationHierarchy[] hierarchies, int[][] otherValues, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq, ARXConfiguration.ARXConfigurationInternal config)` Instantiates a new transformer.
    `Transformer12(int[][] data, GeneralizationHierarchy[] hierarchies, int[][] otherValues, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq, ARXConfiguration.ARXConfigurationInternal config)` Instantiates a new transformer.
    `Transformer13(int[][] data, GeneralizationHierarchy[] hierarchies, int[][] otherValues, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq, ARXConfiguration.ARXConfigurationInternal config)` Instantiates a new transformer.
    `Transformer14(int[][] data, GeneralizationHierarchy[] hierarchies, int[][] otherValues, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq, ARXConfiguration.ARXConfigurationInternal config)` Instantiates a new transformer.
    `Transformer15(int[][] data, GeneralizationHierarchy[] hierarchies, int[][] otherValues, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq, ARXConfiguration.ARXConfigurationInternal config)` Instantiates a new transformer.
    `TransformerAll(int[][] data, GeneralizationHierarchy[] hierarchies, int[][] otherValues, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq, ARXConfiguration.ARXConfigurationInternal config)` Instantiates a new transformer.

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

    Methods in org.deidentifier.arx.framework.data that return GeneralizationHierarchy
    Modifier and Type | Method and Description
    --- | ---
    `GeneralizationHierarchy[]` | DataManager.`getHierarchies()` Returns the generalization hierarchiesQI.

    Constructors in org.deidentifier.arx.framework.data with parameters of type GeneralizationHierarchy
    Constructor and Description

    `DataManager(DataDefinition definition, Data dataAnalyzed, Data dataGeneralized, Data dataStatic, java.lang.String[] header, GeneralizationHierarchy[] hierarchiesGeneralized, int[] hierarchiesHeights, java.util.Map<java.lang.String,GeneralizationHierarchy> hierarchiesSensitive, java.util.Map<java.lang.String,java.lang.Integer> indexesSensitive, int[] maxLevels, DistributionAggregateFunction[] microaggregationFunctions, java.lang.String[] microaggregationHeader, int[] microaggregationMap, int[] microaggregationDomainSizes, int microaggregationNumAttributes, int microaggregationStartIndex, int[] minLevels, java.util.Map<java.lang.String,DataType<?>> dataTypesSensitive)`
    For creating a projected instance

    `DataManagerSubset(DataManager source, Data dataAnalyzed, Data dataGeneralized, Data dataStatic, java.lang.String[] header, GeneralizationHierarchy[] hierarchiesGeneralized, int[] hierarchiesHeights, java.util.Map<java.lang.String,GeneralizationHierarchy> hierarchiesSensitive, java.util.Map<java.lang.String,java.lang.Integer> indexesSensitive, int[] maxLevels, DistributionAggregateFunction[] microaggregationFunctions, java.lang.String[] microaggregationHeader, int[] microaggregationMap, int[] microaggregationDomainSizes, int microaggregationNumAttributes, int microaggregationStartIndex, int[] minLevels, java.util.Map<java.lang.String,DataType<?>> dataTypesSensitive)`
    Constructor

    Constructor parameters in org.deidentifier.arx.framework.data with type arguments of type GeneralizationHierarchy
    Constructor and Description

    `DataManager(DataDefinition definition, Data dataAnalyzed, Data dataGeneralized, Data dataStatic, java.lang.String[] header, GeneralizationHierarchy[] hierarchiesGeneralized, int[] hierarchiesHeights, java.util.Map<java.lang.String,GeneralizationHierarchy> hierarchiesSensitive, java.util.Map<java.lang.String,java.lang.Integer> indexesSensitive, int[] maxLevels, DistributionAggregateFunction[] microaggregationFunctions, java.lang.String[] microaggregationHeader, int[] microaggregationMap, int[] microaggregationDomainSizes, int microaggregationNumAttributes, int microaggregationStartIndex, int[] minLevels, java.util.Map<java.lang.String,DataType<?>> dataTypesSensitive)`
    For creating a projected instance

    `DataManagerSubset(DataManager source, Data dataAnalyzed, Data dataGeneralized, Data dataStatic, java.lang.String[] header, GeneralizationHierarchy[] hierarchiesGeneralized, int[] hierarchiesHeights, java.util.Map<java.lang.String,GeneralizationHierarchy> hierarchiesSensitive, java.util.Map<java.lang.String,java.lang.Integer> indexesSensitive, int[] maxLevels, DistributionAggregateFunction[] microaggregationFunctions, java.lang.String[] microaggregationHeader, int[] microaggregationMap, int[] microaggregationDomainSizes, int microaggregationNumAttributes, int microaggregationStartIndex, int[] minLevels, java.util.Map<java.lang.String,DataType<?>> dataTypesSensitive)`
    Constructor

  - ### Uses of GeneralizationHierarchy in org.deidentifier.arx.metric

    Methods in org.deidentifier.arx.metric with parameters of type GeneralizationHierarchy
    Modifier and Type | Method and Description
    --- | ---
    `void` | Metric.`initialize(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)` Initializes the metric.
    `protected void` | MetricNMEntropy.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`
    `protected void` | MetricAECS.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`
    `protected void` | MetricDM.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`
    `protected void` | MetricHeight.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`
    `protected void` | MetricStatic.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`
    `protected void` | MetricEntropy.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] ahierarchies, ARXConfiguration config)`
    `protected void` | MetricWeighted.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`
    `protected void` | MetricDefault.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`
    `protected abstract void` | Metric.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)` Implement this to initialize the metric.
    `protected void` | MetricNMPrecision.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`
    `protected void` | MetricPrecision.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`
    `protected void` | MetricDMStar.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`

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

    Methods in org.deidentifier.arx.metric.v2 with parameters of type GeneralizationHierarchy
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | MetricSDNMEntropyBasedInformationLoss.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`
    `protected void` | AbstractMetricSingleDimensional.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`
    `protected void` | MetricSDNMKLDivergence.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`
    `protected void` | MetricMDNMLossPrecomputed.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`
    `protected void` | MetricSDNMAmbiguity.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`
    `protected void` | MetricMDNUEntropyPrecomputed.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`
    `protected void` | MetricMDNMPrecision.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`
    `protected void` | MetricMDNUNMEntropyPrecomputed.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`
    `protected void` | MetricSDNMPublisherPayout.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`
    `protected void` | AbstractMetricMultiDimensional.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`
    `protected void` | MetricMDHeight.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`
    `protected void` | AbstractMetricMultiDimensionalPotentiallyPrecomputed.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] ahierarchies, ARXConfiguration config)`
    `protected void` | MetricMDNUNMNormalizedEntropyPrecomputed.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`
    `protected void` | MetricMDStatic.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`
    `protected void` | MetricMDNMLoss.`initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)`

    Constructors in org.deidentifier.arx.metric.v2 with parameters of type GeneralizationHierarchy
    Constructor and Description
    `Cardinalities(Data data, RowSet subset, GeneralizationHierarchy[] hierarchies)` Creates a new instance for the given data set.