public class MetricMDNUNMNormalizedEntropyPrecomputed extends MetricMDNUNMEntropyPrecomputed
Metric.AggregateFunction
Modifier | Constructor and Description |
---|---|
protected |
MetricMDNUNMNormalizedEntropyPrecomputed()
Creates a new instance.
|
|
MetricMDNUNMNormalizedEntropyPrecomputed(Metric.AggregateFunction function)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
MetricConfiguration |
getConfiguration()
Returns the configuration of this metric.
|
protected ILMultiDimensionalWithBound |
getInformationLossInternal(Transformation node,
HashGroupify g)
Evaluates the metric for the given node.
|
protected ILMultiDimensionalWithBound |
getInformationLossInternal(Transformation node,
HashGroupifyEntry entry)
Returns the information loss that would be induced by suppressing the given entry.
|
protected AbstractILMultiDimensional |
getLowerBoundInternal(Transformation node)
Returns a lower bound for the information loss for the given node.
|
protected AbstractILMultiDimensional |
getLowerBoundInternal(Transformation node,
HashGroupify groupify)
Returns a lower bound for the information loss for the given node.
|
java.lang.String |
getName()
Returns the name of metric.
|
protected void |
initializeInternal(DataManager manager,
DataDefinition definition,
Data input,
GeneralizationHierarchy[] hierarchies,
ARXConfiguration config)
Implement this to initialize the metric.
|
boolean |
isPrecomputed()
Returns whether the metric is precomputed
|
ElementData |
render(ARXConfiguration config)
Renders the privacy model
|
java.lang.String |
toString()
Returns the name of metric.
|
isGSFactorSupported
getInformationLossInternalRaw, getUpperBounds, initialize
createInformationLoss, createInformationLossWithBound, createInformationLossWithoutBound, createMaxInformationLoss, createMinInformationLoss, getAggregateFunction, 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, getGeneralizationFactor, getGeneralizationSuppressionFactor, getInformationLoss, getInformationLoss, getLowerBound, getLowerBound, getNumRecords, getSubset, getSuppressionFactor, initialize, isAbleToHandleMicroaggregation, isIndependent, isMonotonic, isMonotonicWithGeneralization, isMonotonicWithSuppression, isMultiDimensional, isWeighted, list, round
public MetricMDNUNMNormalizedEntropyPrecomputed(Metric.AggregateFunction function)
function
- protected MetricMDNUNMNormalizedEntropyPrecomputed()
public MetricConfiguration getConfiguration()
getConfiguration
in class MetricMDNUNMEntropyPrecomputed
public java.lang.String getName()
Metric
getName
in class Metric<AbstractILMultiDimensional>
public boolean isPrecomputed()
Metric
isPrecomputed
in class MetricMDNUNMEntropyPrecomputed
public ElementData render(ARXConfiguration config)
Metric
render
in class MetricMDNUNMEntropyPrecomputed
public java.lang.String toString()
Metric
toString
in class MetricMDNUNMEntropyPrecomputed
protected ILMultiDimensionalWithBound getInformationLossInternal(Transformation node, HashGroupify g)
Metric
getInformationLossInternal
in class MetricMDNUNMEntropyPrecomputed
node
- The node for which to compute the information lossg
- The groupify operator of the previous checkprotected ILMultiDimensionalWithBound getInformationLossInternal(Transformation node, HashGroupifyEntry entry)
Metric
getInformationLoss(node, groupify)
but is guaranteed to be comparable for
different entries from the same groupify operator.getInformationLossInternal
in class MetricMDNUEntropyPrecomputed
protected AbstractILMultiDimensional getLowerBoundInternal(Transformation node)
Metric
null
.getLowerBoundInternal
in class MetricMDNUNMEntropyPrecomputed
protected AbstractILMultiDimensional getLowerBoundInternal(Transformation node, HashGroupify groupify)
Metric
null
. getLowerBoundInternal
in class MetricMDNUNMEntropyPrecomputed
protected void initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)
Metric
initializeInternal
in class MetricMDNUNMEntropyPrecomputed