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

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

- Packages that use DataManager
  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.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.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 DataManager in org.deidentifier.arx

    Methods in org.deidentifier.arx with parameters of type DataManager
    Modifier and Type | Method and Description
    --- | ---
    `protected org.deidentifier.arx.ARXAnonymizer.Result` | ARXAnonymizer.`anonymize(DataManager manager, DataDefinition definition, ARXConfiguration config)` Reset a previous lattice and run the algorithm .
    `protected void` | ARXConfiguration.`initialize(DataManager manager)` Initializes the configuration.

    Constructors in org.deidentifier.arx with parameters of type DataManager
    Constructor and Description
    `ARXResult(org.deidentifier.arx.DataRegistry registry, DataManager manager, NodeChecker checker, DataDefinition definition, ARXConfiguration config, ARXLattice lattice, long duration, SolutionSpace solutionSpace)` Creates a new instance.
    `DataHandleOutput(ARXResult result, org.deidentifier.arx.DataRegistry registry, DataManager manager, Data outputGeneralized, Data outputMicroaggregated, ARXLattice.ARXNode node, DataDefinition definition, ARXConfiguration config)` Instantiates a new handle.

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

    Methods in org.deidentifier.arx.criteria with parameters of type DataManager
    Modifier and Type | Method and Description
    --- | ---
    `void` | KMap.`initialize(DataManager manager, ARXConfiguration config)`
    `void` | ProfitabilityProsecutorNoAttack.`initialize(DataManager manager, ARXConfiguration config)`
    `void` | EqualDistanceTCloseness.`initialize(DataManager manager, ARXConfiguration config)`
    `void` | PopulationUniqueness.`initialize(DataManager manager, ARXConfiguration config)`
    `void` | OrderedDistanceTCloseness.`initialize(DataManager manager, ARXConfiguration config)`
    `void` | ExplicitPrivacyCriterion.`initialize(DataManager manager, ARXConfiguration config)`
    `void` | Inclusion.`initialize(DataManager manager, ARXConfiguration config)`
    `void` | EDDifferentialPrivacy.`initialize(DataManager manager, ARXConfiguration config)` Creates a random sample based on beta
    `void` | EnhancedBLikeness.`initialize(DataManager manager, ARXConfiguration config)`
    `void` | DDisclosurePrivacy.`initialize(DataManager manager, ARXConfiguration config)`
    `void` | HierarchicalDistanceTCloseness.`initialize(DataManager manager, ARXConfiguration config)`
    `void` | BasicBLikeness.`initialize(DataManager manager, ARXConfiguration config)`
    `void` | PrivacyCriterion.`initialize(DataManager manager, ARXConfiguration config)` Override this to initialize the criterion.
    `void` | DPresence.`initialize(DataManager manager, ARXConfiguration config)`
    `void` | ProfitabilityProsecutor.`initialize(DataManager manager, ARXConfiguration config)`

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

    Constructors in org.deidentifier.arx.framework.check with parameters of type DataManager
    Constructor and Description
    `NodeChecker(DataManager manager, Metric<?> metric, ARXConfiguration.ARXConfigurationInternal config, int historyMaxSize, double snapshotSizeDataset, double snapshotSizeSnapshot, SolutionSpace solutionSpace)` Creates a new NodeChecker instance.

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

    Subclasses of DataManager in org.deidentifier.arx.framework.data
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DataManagerSubset` A data manager that is projected onto a given subset.

    Methods in org.deidentifier.arx.framework.data that return DataManager
    Modifier and Type | Method and Description
    --- | ---
    `DataManager` | DataManager.`getSubsetInstance(RowSet rowset)` Returns an instance of this data manager, that is projected onto the given rowset

    Methods in org.deidentifier.arx.framework.data with parameters of type DataManager
    Modifier and Type | Method and Description
    --- | ---
    `void` | GeneralizationHierarchy.`checkMonotonicity(DataManager manager)` Throws an exception, if the hierarchy is not monotonic.

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

    `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 DataManager in org.deidentifier.arx.metric

    Methods in org.deidentifier.arx.metric with parameters of type DataManager
    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 DataManager in org.deidentifier.arx.metric.v2

    Methods in org.deidentifier.arx.metric.v2 with parameters of type DataManager
    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)`