public class MetricNMEntropy extends MetricEntropy
Metric.AggregateFunction
Modifier | Constructor and Description |
---|---|
protected |
MetricNMEntropy()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected InformationLossWithBound<org.deidentifier.arx.metric.InformationLossDefault> |
getInformationLossInternal(Transformation node,
HashGroupify g)
Evaluates the metric for the given node.
|
protected org.deidentifier.arx.metric.InformationLossDefault |
getLowerBoundInternal(Transformation node)
Returns a lower bound for the information loss for the given node.
|
protected org.deidentifier.arx.metric.InformationLossDefault |
getLowerBoundInternal(Transformation node,
HashGroupify groupify)
Returns a lower bound for the information loss for the given node.
|
protected void |
initializeInternal(DataManager manager,
DataDefinition definition,
Data input,
GeneralizationHierarchy[] hierarchies,
ARXConfiguration config)
Implement this to initialize the metric.
|
ElementData |
render(ARXConfiguration config)
Renders the privacy model
|
java.lang.String |
toString()
Returns the name of metric.
|
getCache, getCardinalities, getHierarchies, getInformationLossInternal
createMaxInformationLoss, createMinInformationLoss
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, getAggregateFunction, getConfiguration, getDescription, getDescription, getGeneralizationFactor, getGeneralizationSuppressionFactor, getInformationLoss, getInformationLoss, getLowerBound, getLowerBound, getName, getNumRecords, getSubset, getSuppressionFactor, initialize, isAbleToHandleMicroaggregation, isGSFactorSupported, isIndependent, isMonotonic, isMonotonicWithGeneralization, isMonotonicWithSuppression, isMultiDimensional, isPrecomputed, isWeighted, list, round
public ElementData render(ARXConfiguration config)
Metric
render
in class MetricEntropy
public java.lang.String toString()
Metric
toString
in class MetricEntropy
protected InformationLossWithBound<org.deidentifier.arx.metric.InformationLossDefault> getInformationLossInternal(Transformation node, HashGroupify g)
Metric
getInformationLossInternal
in class MetricEntropy
node
- The node for which to compute the information lossg
- The groupify operator of the previous checkprotected org.deidentifier.arx.metric.InformationLossDefault getLowerBoundInternal(Transformation node)
Metric
null
.getLowerBoundInternal
in class MetricEntropy
protected org.deidentifier.arx.metric.InformationLossDefault getLowerBoundInternal(Transformation node, HashGroupify groupify)
Metric
null
. getLowerBoundInternal
in class MetricEntropy
protected void initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)
Metric
initializeInternal
in class MetricEntropy