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(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.
|
createAECSMetric, createAmbiguityMetric, createDiscernabilityMetric, createDiscernabilityMetric, createEntropyMetric, createEntropyMetric, createEntropyMetric, createHeightMetric, createHeightMetric, createKLDivergenceMetric, createLossMetric, createLossMetric, createLossMetric, createLossMetric, createMetric, createNormalizedEntropyMetric, createNormalizedEntropyMetric, createPrecisionMetric, createPrecisionMetric, createPrecisionMetric, createPrecisionMetric, createPrecomputedEntropyMetric, createPrecomputedEntropyMetric, createPrecomputedEntropyMetric, createPrecomputedLossMetric, createPrecomputedLossMetric, createPrecomputedLossMetric, createPrecomputedLossMetric, createPrecomputedNormalizedEntropyMetric, createPrecomputedNormalizedEntropyMetric, 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(Transformation node)
Metric
null
.getLowerBoundInternal
in class Metric<org.deidentifier.arx.metric.InformationLossDefault>
protected org.deidentifier.arx.metric.InformationLossDefault getLowerBoundInternal(Transformation node, HashGroupify groupify)
Metric
null
. getLowerBoundInternal
in class Metric<org.deidentifier.arx.metric.InformationLossDefault>
protected void initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)
Metric
initializeInternal
in class Metric<org.deidentifier.arx.metric.InformationLossDefault>