Klasse DataManagerSubset
java.lang.Object
org.deidentifier.arx.framework.data.DataManager
org.deidentifier.arx.framework.data.DataManagerSubset
A data manager that is projected onto a given subset. Used for post-optimization.
-
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedDataManagerSubset(DataManager source, Data dataAnalyzed, Data dataGeneralized, Data dataInput, DataDefinition definition, DomainShare[] shares, String[] header, GeneralizationHierarchy[] hierarchiesGeneralized, GeneralizationHierarchy[] hierarchiesAnalyzed, int[] generalizationLevelsMinimum, int[] generalizationLevelsMaximum, DataAggregationInformation microaggregationData) Constructor -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdouble[]getDistribution(String attribute) Returns the distribution of the given sensitive attribute in the original dataset.double[]getDistribution(DataMatrix data, int index, int distinctValues) Returns the distribution of the attribute in the data array at the given index.int[]Returns the order of the given sensitive attribute in the original dataset.int[]Returns the tree for the given sensitive attribute, if a generalization hierarchy is associated.int[]getTree(DataMatrix data, int index, int[][] hierarchy) Returns a tree for the given attribute at the index within the given data array, using the given hierarchy.Von Klasse geerbte Methoden org.deidentifier.arx.framework.data.DataManager
getAggregationInformation, getDataAnalyzed, getDataDefinition, getDataGeneralized, getDataInput, getDomainShares, getDomainSharesReliable, getHeader, getHierachiesHeights, getHierarchies, getHierarchiesMaxLevels, getHierarchiesMinLevels, getSubsetInstance
-
Konstruktordetails
-
Methodendetails
-
getDistribution
Beschreibung aus Klasse kopiert:DataManagerReturns the distribution of the attribute in the data array at the given index.- Setzt außer Kraft:
getDistributionin KlasseDataManager- Parameter:
data-index-distinctValues-- Gibt zurück:
-
getDistribution
Beschreibung aus Klasse kopiert:DataManagerReturns the distribution of the given sensitive attribute in the original dataset. Required for t-closeness.- Setzt außer Kraft:
getDistributionin KlasseDataManager- Parameter:
attribute-- Gibt zurück:
- distribution
-
getOrder
Beschreibung aus Klasse kopiert:DataManagerReturns the order of the given sensitive attribute in the original dataset. Required for t-closeness.- Setzt außer Kraft:
getOrderin KlasseDataManager- Parameter:
attribute-- Gibt zurück:
- distribution
-
getTree
Beschreibung aus Klasse kopiert:DataManagerReturns a tree for the given attribute at the index within the given data array, using the given hierarchy. The resulting tree can be used to calculate the earth mover's distance with hierarchical ground-distance.- Setzt außer Kraft:
getTreein KlasseDataManager- Parameter:
data-index-hierarchy-- Gibt zurück:
- tree
-
getTree
Beschreibung aus Klasse kopiert:DataManagerReturns the tree for the given sensitive attribute, if a generalization hierarchy is associated. The resulting tree can be used to calculate the earth mover's distance with hierarchical ground-distance.- Setzt außer Kraft:
getTreein KlasseDataManager- Parameter:
attribute-- Gibt zurück:
- tree
-