Package org.deidentifier.arx.metric.v2
Klasse AbstractMetricMultiDimensional
java.lang.Object
org.deidentifier.arx.metric.Metric<AbstractILMultiDimensional>
org.deidentifier.arx.metric.v2.AbstractMetricMultiDimensional
- Alle implementierten Schnittstellen:
Serializable
- Bekannte direkte Unterklassen:
AbstractMetricMultiDimensionalPotentiallyPrecomputed,MetricMDHeight,MetricMDNMLoss,MetricMDNMPrecision,MetricMDNUEntropyPrecomputed,MetricMDStatic
This class provides an abstract skeleton for the implementation of multi-dimensional metrics.
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.deidentifier.arx.metric.Metric
Metric.AggregateFunction -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected intMinimal size of equivalence classes enforced by the differential privacy model -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected AbstractILMultiDimensionalcreateInformationLoss(double[] values) Helper method for creating information loss.Returns an instance of the maximal value.Returns an instance of the minimal value.Returns the aggregate function of a multi-dimensional metric, null otherwise.protected org.deidentifier.arx.framework.check.distribution.DistributionAggregateFunction[]Returns relevant aggregation functionsprotected org.deidentifier.arx.framework.check.distribution.DistributionAggregateFunction[]Returns relevant aggregation functionsprotected int[]Returns the indicies of aggregated variablesprotected int[]Returns the indicies of aggregated variablesprotected org.deidentifier.arx.framework.data.DataAggregationInformationNeeded for microaggregationprotected intReturns the number of dimensions.protected intReturns the number of dimensions.protected intReturns the number of dimensions.protected voidinitialize(int dimensions) For backwards compatibility only.protected voidinitializeInternal(org.deidentifier.arx.framework.data.DataManager manager, DataDefinition definition, org.deidentifier.arx.framework.data.Data input, org.deidentifier.arx.framework.data.GeneralizationHierarchy[] hierarchies, ARXConfiguration config) Implement this to initialize the metric.protected voidsetMax(double[] max) Sets the maximal information loss.protected voidsetMin(double[] min) Sets the minimal information loss.Von Klasse geerbte Methoden org.deidentifier.arx.metric.Metric
createAECSMetric, createAECSMetric, createAmbiguityMetric, createClassificationMetric, createClassificationMetric, createDiscernabilityMetric, createDiscernabilityMetric, createEntropyBasedInformationLossMetric, createEntropyBasedInformationLossMetric, createEntropyMetric, createEntropyMetric, createEntropyMetric, createEntropyMetric, createEntropyMetric, createEntropyMetric, createHeightMetric, createHeightMetric, createInstanceOfHighestScore, createInstanceOfLowestScore, createKLDivergenceMetric, createLossMetric, createLossMetric, createLossMetric, createLossMetric, createMetric, createNormalizedEntropyMetric, createNormalizedEntropyMetric, createPrecisionMetric, createPrecisionMetric, createPrecisionMetric, createPrecisionMetric, createPrecisionMetric, createPrecisionMetric, createPrecisionMetric, createPrecisionMetric, createPrecomputedEntropyMetric, createPrecomputedEntropyMetric, createPrecomputedEntropyMetric, createPrecomputedEntropyMetric, createPrecomputedEntropyMetric, createPrecomputedEntropyMetric, createPrecomputedLossMetric, createPrecomputedLossMetric, createPrecomputedLossMetric, createPrecomputedLossMetric, createPrecomputedNormalizedEntropyMetric, createPrecomputedNormalizedEntropyMetric, createPublisherPayoutMetric, createPublisherPayoutMetric, createStaticMetric, createStaticMetric, getConfiguration, getDescription, getDescription, getGeneralizationFactor, getGeneralizationSuppressionFactor, getInformationLoss, getInformationLoss, getInformationLossInternal, getInformationLossInternal, getLowerBound, getLowerBound, getLowerBoundInternal, getLowerBoundInternal, getName, getNumRecords, getScore, getSubset, getSuppressionFactor, initialize, isAbleToHandleClusteredMicroaggregation, isAbleToHandleMicroaggregation, isGSFactorSupported, isIndependent, isMonotonic, isMonotonicWithGeneralization, isMonotonicWithSuppression, isMultiDimensional, isPrecomputed, isScoreFunctionSupported, isWeighted, list, render, round, toString
-
Felddetails
-
k
protected int kMinimal size of equivalence classes enforced by the differential privacy model
-
-
Methodendetails
-
createMaxInformationLoss
Beschreibung aus Klasse kopiert:MetricReturns an instance of the maximal value.- Angegeben von:
createMaxInformationLossin KlasseMetric<AbstractILMultiDimensional>- Gibt zurück:
-
createMinInformationLoss
Beschreibung aus Klasse kopiert:MetricReturns an instance of the minimal value.- Angegeben von:
createMinInformationLossin KlasseMetric<AbstractILMultiDimensional>- Gibt zurück:
-
getAggregateFunction
Beschreibung aus Klasse kopiert:MetricReturns the aggregate function of a multi-dimensional metric, null otherwise.- Setzt außer Kraft:
getAggregateFunctionin KlasseMetric<AbstractILMultiDimensional>- Gibt zurück:
-
createInformationLoss
Helper method for creating information loss.- Parameter:
values-- Gibt zurück:
-
getAggregationFunctionsGeneralized
protected org.deidentifier.arx.framework.check.distribution.DistributionAggregateFunction[] getAggregationFunctionsGeneralized()Returns relevant aggregation functions- Gibt zurück:
-
getAggregationFunctionsNonGeneralized
protected org.deidentifier.arx.framework.check.distribution.DistributionAggregateFunction[] getAggregationFunctionsNonGeneralized()Returns relevant aggregation functions- Gibt zurück:
-
getAggregationIndicesGeneralized
protected int[] getAggregationIndicesGeneralized()Returns the indicies of aggregated variables- Gibt zurück:
-
getAggregationIndicesNonGeneralized
protected int[] getAggregationIndicesNonGeneralized()Returns the indicies of aggregated variables- Gibt zurück:
-
getAggregationInformation
protected org.deidentifier.arx.framework.data.DataAggregationInformation getAggregationInformation()Needed for microaggregation- Gibt zurück:
-
getDimensions
protected int getDimensions()Returns the number of dimensions.- Gibt zurück:
-
getDimensionsAggregated
protected int getDimensionsAggregated()Returns the number of dimensions.- Gibt zurück:
-
getDimensionsGeneralized
protected int getDimensionsGeneralized()Returns the number of dimensions.- Gibt zurück:
-
initialize
protected void initialize(int dimensions) For backwards compatibility only.- Parameter:
dimensions-
-
initializeInternal
protected void initializeInternal(org.deidentifier.arx.framework.data.DataManager manager, DataDefinition definition, org.deidentifier.arx.framework.data.Data input, org.deidentifier.arx.framework.data.GeneralizationHierarchy[] hierarchies, ARXConfiguration config) Beschreibung aus Klasse kopiert:MetricImplement this to initialize the metric.- Angegeben von:
initializeInternalin KlasseMetric<AbstractILMultiDimensional>- Parameter:
manager-definition-input-hierarchies-config-
-
setMax
protected void setMax(double[] max) Sets the maximal information loss.- Parameter:
max-
-
setMin
protected void setMin(double[] min) Sets the minimal information loss.- Parameter:
min-
-