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(org.deidentifier.arx.framework.lattice.Node node,
org.deidentifier.arx.framework.check.groupify.HashGroupify g)
Evaluates the metric for the given node.
|
protected org.deidentifier.arx.metric.InformationLossDefault |
getLowerBoundInternal(org.deidentifier.arx.framework.lattice.Node node)
Returns a lower bound for the information loss for the given node.
|
protected org.deidentifier.arx.metric.InformationLossDefault |
getLowerBoundInternal(org.deidentifier.arx.framework.lattice.Node node,
org.deidentifier.arx.framework.check.groupify.HashGroupify groupify)
Returns a lower bound for the information loss for the given node.
|
protected void |
initializeInternal(DataDefinition definition,
org.deidentifier.arx.framework.data.Data input,
org.deidentifier.arx.framework.data.GeneralizationHierarchy[] ahierarchies,
ARXConfiguration config)
Implement this to initialize the metric.
|
java.lang.String |
toString()
Returns the name of metric.
|
getCache, getCardinalities, getHierarchies, getInformationLossInternal
createMaxInformationLoss, createMinInformationLoss
createAECSMetric, createDiscernabilityMetric, createDiscernabilityMetric, createEntropyMetric, createEntropyMetric, createEntropyMetric, createHeightMetric, createHeightMetric, createLossMetric, createLossMetric, createLossMetric, createLossMetric, createMetric, createPrecisionMetric, createPrecisionMetric, createPrecisionMetric, createPrecisionMetric, createPrecomputedEntropyMetric, createPrecomputedEntropyMetric, createPrecomputedEntropyMetric, createPrecomputedLossMetric, createPrecomputedLossMetric, createPrecomputedLossMetric, createPrecomputedLossMetric, createStaticMetric, createStaticMetric, getAggregateFunction, getConfiguration, getDescription, getDescription, getInformationLoss, getInformationLoss, getLowerBound, getLowerBound, getName, initialize, isIndependent, isMonotonic, isMultiDimensional, isWeighted, list, round
public java.lang.String toString()
Metric
toString
in class MetricEntropy
protected InformationLossWithBound<org.deidentifier.arx.metric.InformationLossDefault> getInformationLossInternal(org.deidentifier.arx.framework.lattice.Node node, org.deidentifier.arx.framework.check.groupify.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(org.deidentifier.arx.framework.lattice.Node node)
Metric
null
.getLowerBoundInternal
in class MetricEntropy
protected org.deidentifier.arx.metric.InformationLossDefault getLowerBoundInternal(org.deidentifier.arx.framework.lattice.Node node, org.deidentifier.arx.framework.check.groupify.HashGroupify groupify)
Metric
null
. getLowerBoundInternal
in class MetricEntropy
protected void initializeInternal(DataDefinition definition, org.deidentifier.arx.framework.data.Data input, org.deidentifier.arx.framework.data.GeneralizationHierarchy[] ahierarchies, ARXConfiguration config)
Metric
initializeInternal
in class MetricEntropy