# Uses of Class org.deidentifier.arx.DataSubset (ARX GUI Documentation)

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

- Packages that use DataSubset
  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.

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

    Methods in org.deidentifier.arx that return DataSubset
    Modifier and Type | Method and Description
    --- | ---
    `DataSubset` | DataSubset.`clone()` Clone
    `static DataSubset` | DataSubset.`create(Data data, Data subset)` Create a subset by matching two data instances.
    `static DataSubset` | DataSubset.`create(Data data, DataSelector selector)` Creates a subset from the given selector.
    `static DataSubset` | DataSubset.`create(Data data, RowSet subset)` Creates a new subset from the given row set, from which a copy is created.
    `static DataSubset` | DataSubset.`create(Data data, java.util.Set<java.lang.Integer> subset)` Creates a new subset from the given set of tuple indices.
    `static DataSubset` | DataSubset.`create(int rows, RowSet subset)` Creates a new subset from the given row set, from which a copy is created.
    `static DataSubset` | DataSubset.`create(int rows, java.util.Set<java.lang.Integer> subset)` Creates a new subset from the given set of tuple indices.
    `protected DataSubset` | ARXConfiguration.`getSubset()` Returns the data subset, if any subset is defined.
    `DataSubset` | ARXConfiguration.ARXConfigurationInternal.`getSubset()` Returns the data subset, if any
    `protected DataSubset` | DataSubset.`getSubsetInstance(RowSet rowset)` Returns a new data subset, only containing those rows that are included in the subset

    Constructors in org.deidentifier.arx with parameters of type DataSubset
    Constructor and Description
    `DataHandleSubset(DataHandle source, DataSubset subset)` Creates a new handle that represents the research subset.

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

    Methods in org.deidentifier.arx.criteria that return DataSubset
    Modifier and Type | Method and Description
    --- | ---
    `DataSubset` | KMap.`getDataSubset()`
    `DataSubset` | ProfitabilityProsecutorNoAttack.`getDataSubset()`
    `DataSubset` | EDDifferentialPrivacy.`getDataSubset()`
    `DataSubset` | ProfitabilityJournalistNoAttack.`getDataSubset()`
    `DataSubset` | PrivacyCriterion.`getDataSubset()` If a privacy model uses a data subset, it must overwrite this method
    `DataSubset` | DPresence.`getDataSubset()`
    `DataSubset` | ProfitabilityJournalist.`getDataSubset()`
    `DataSubset` | ProfitabilityProsecutor.`getDataSubset()`
    `DataSubset` | PrivacyCriterion.`getSubset()` Returns a research subset, `null` if no subset is available

    Methods in org.deidentifier.arx.criteria with parameters of type DataSubset
    Modifier and Type | Method and Description
    --- | ---
    `PrivacyCriterion` | KMap.`clone(DataSubset subset)`
    `PrivacyCriterion` | ProfitabilityProsecutorNoAttack.`clone(DataSubset subset)`
    `PrivacyCriterion` | Inclusion.`clone(DataSubset subset)`
    `PrivacyCriterion` | ProfitabilityJournalistNoAttack.`clone(DataSubset subset)`
    `PrivacyCriterion` | PrivacyCriterion.`clone(DataSubset subset)` Clone for local recoding
    `PrivacyCriterion` | ProfitabilityJournalist.`clone(DataSubset subset)`
    `PrivacyCriterion` | ProfitabilityProsecutor.`clone(DataSubset subset)`

    Constructors in org.deidentifier.arx.criteria with parameters of type DataSubset
    Constructor and Description
    `DPresence(DataSubset subset)` For building the inclusion criterion.
    `DPresence(double dMin, double dMax, DataSubset subset)` Creates a new instance of the d-presence criterion as proposed in: Nergiz M, Atzori M, Clifton C.
    `Inclusion(DataSubset subset)` Creates a new instance of the enclosure criterion.
    `KMap(int k, DataSubset subset)` Creates a new instance of the k-map criterion as proposed by Latanya Sweeney
    `ProfitabilityJournalist(DataSubset subset)` Creates a new instance of game theoretic approach proposed in: A Game Theoretic Framework for Analyzing Re-Identification Risk.
    `ProfitabilityJournalistNoAttack(DataSubset subset)` Creates a new instance