public class MetricMDNMLossPotentiallyPrecomputed extends AbstractMetricMultiDimensionalPotentiallyPrecomputed
Metric.AggregateFunction
Modifier | Constructor and Description |
---|---|
protected |
MetricMDNMLossPotentiallyPrecomputed(double threshold)
Creates a new instance.
|
protected |
MetricMDNMLossPotentiallyPrecomputed(double threshold,
double gsFactor,
Metric.AggregateFunction function)
Creates a new instance.
|
protected |
MetricMDNMLossPotentiallyPrecomputed(double threshold,
Metric.AggregateFunction function)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
MetricConfiguration |
getConfiguration()
Returns the configuration of this metric.
|
double |
getGeneralizationFactor()
Returns the factor used weight generalized values.
|
double |
getGeneralizationSuppressionFactor()
Returns the factor weighting generalization and suppression.
|
double |
getSuppressionFactor()
Returns the factor used to weight suppressed values.
|
boolean |
isAbleToHandleMicroaggregation()
Returns whether this metric handles microaggregation
|
boolean |
isGSFactorSupported()
Returns whether a generalization/suppression factor is supported
|
ElementData |
render(ARXConfiguration config)
Renders the privacy model
|
java.lang.String |
toString()
Returns the name of metric.
|
createMaxInformationLoss, createMinInformationLoss, getAggregateFunction, getDefaultMetric, getInformationLossInternal, getInformationLossInternal, getLowerBoundInternal, getLowerBoundInternal, getPrecomputedMetric, getThreshold, initializeInternal, isIndependent, isPrecomputed
createInformationLoss, createInformationLossWithBound, createInformationLossWithoutBound, getAggregateFunctions, getDimensions, getDimensionsAggregated, getDimensionsGeneralized, getError, getMicroaggregationFunctions, getMicroaggregationStartIndex, initialize, setMax, setMin
createAECSMetric, createAECSMetric, createAmbiguityMetric, 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, getDescription, getDescription, getInformationLoss, getInformationLoss, getLowerBound, getLowerBound, getName, getNumRecords, getSubset, initialize, isMonotonic, isMonotonicWithGeneralization, isMonotonicWithSuppression, isMultiDimensional, isWeighted, list, round
protected MetricMDNMLossPotentiallyPrecomputed(double threshold)
threshold
- protected MetricMDNMLossPotentiallyPrecomputed(double threshold, Metric.AggregateFunction function)
threshold
- function
- protected MetricMDNMLossPotentiallyPrecomputed(double threshold, double gsFactor, Metric.AggregateFunction function)
threshold
- gsFactor
- function
- public MetricConfiguration getConfiguration()
getConfiguration
in class Metric<AbstractILMultiDimensional>
public double getGeneralizationFactor()
Metric
getGeneralizationFactor
in class AbstractMetricMultiDimensionalPotentiallyPrecomputed
public double getGeneralizationSuppressionFactor()
Metric
getGeneralizationSuppressionFactor
in class AbstractMetricMultiDimensionalPotentiallyPrecomputed
public double getSuppressionFactor()
Metric
getSuppressionFactor
in class AbstractMetricMultiDimensionalPotentiallyPrecomputed
public boolean isAbleToHandleMicroaggregation()
Metric
isAbleToHandleMicroaggregation
in class Metric<AbstractILMultiDimensional>
public boolean isGSFactorSupported()
Metric
isGSFactorSupported
in class Metric<AbstractILMultiDimensional>
public ElementData render(ARXConfiguration config)
Metric
render
in class Metric<AbstractILMultiDimensional>
public java.lang.String toString()
Metric
toString
in class Metric<AbstractILMultiDimensional>