public abstract class MetricDefault extends Metric<org.deidentifier.arx.metric.InformationLossDefault>
Metric.AggregateFunction
Constructor and Description |
---|
MetricDefault(boolean monotonic,
boolean independent) |
Modifier and Type | Method and Description |
---|---|
InformationLoss<?> |
createMaxInformationLoss()
Returns an instance of the maximal value.
|
InformationLoss<?> |
createMinInformationLoss()
Returns an instance of the minimal value.
|
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[] hierarchies,
ARXConfiguration config)
Implement this to initialize the metric.
|
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, getInformationLossInternal, getInformationLossInternal, getLowerBound, getLowerBound, getName, initialize, isIndependent, isMonotonic, isMultiDimensional, isWeighted, list, round, toString
public MetricDefault(boolean monotonic, boolean independent)
monotonic
- independent
- public InformationLoss<?> createMaxInformationLoss()
Metric
createMaxInformationLoss
in class Metric<org.deidentifier.arx.metric.InformationLossDefault>
public InformationLoss<?> createMinInformationLoss()
Metric
createMinInformationLoss
in class Metric<org.deidentifier.arx.metric.InformationLossDefault>
protected org.deidentifier.arx.metric.InformationLossDefault getLowerBoundInternal(org.deidentifier.arx.framework.lattice.Node node)
Metric
null
.getLowerBoundInternal
in class Metric<org.deidentifier.arx.metric.InformationLossDefault>
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 Metric<org.deidentifier.arx.metric.InformationLossDefault>
protected void initializeInternal(DataDefinition definition, org.deidentifier.arx.framework.data.Data input, org.deidentifier.arx.framework.data.GeneralizationHierarchy[] hierarchies, ARXConfiguration config)
Metric
initializeInternal
in class Metric<org.deidentifier.arx.metric.InformationLossDefault>