T
- public abstract class MetricWeighted<T extends InformationLoss<?>> extends Metric<T>
Metric.AggregateFunction
Modifier and Type | Field and Description |
---|---|
protected double[] |
weights
The weights.
|
Constructor and Description |
---|
MetricWeighted(boolean monotonic,
boolean independent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected T |
getLowerBoundInternal(org.deidentifier.arx.framework.lattice.Transformation node)
Returns a lower bound for the information loss for the given node.
|
protected T |
getLowerBoundInternal(org.deidentifier.arx.framework.lattice.Transformation node,
org.deidentifier.arx.framework.check.groupify.HashGroupify groupify)
Returns a lower bound for the information loss for the given node.
|
protected void |
initializeInternal(org.deidentifier.arx.framework.data.DataManager manager,
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, createAECSMetric, createAmbiguityMetric, createDiscernabilityMetric, createDiscernabilityMetric, createEntropyMetric, createEntropyMetric, createEntropyMetric, createEntropyMetric, createEntropyMetric, createEntropyMetric, createHeightMetric, createHeightMetric, createKLDivergenceMetric, createLossMetric, createLossMetric, createLossMetric, createLossMetric, createMaxInformationLoss, createMetric, createMinInformationLoss, createNormalizedEntropyMetric, createNormalizedEntropyMetric, createPrecisionMetric, createPrecisionMetric, createPrecisionMetric, createPrecisionMetric, createPrecisionMetric, createPrecisionMetric, createPrecisionMetric, createPrecisionMetric, createPrecomputedEntropyMetric, createPrecomputedEntropyMetric, createPrecomputedEntropyMetric, createPrecomputedEntropyMetric, createPrecomputedEntropyMetric, createPrecomputedEntropyMetric, createPrecomputedLossMetric, createPrecomputedLossMetric, createPrecomputedLossMetric, createPrecomputedLossMetric, createPrecomputedNormalizedEntropyMetric, createPrecomputedNormalizedEntropyMetric, createStaticMetric, createStaticMetric, getAggregateFunction, getConfiguration, getDescription, getDescription, getGeneralizationFactor, getGeneralizationSuppressionFactor, getInformationLoss, getInformationLoss, getInformationLossInternal, getInformationLossInternal, getLowerBound, getLowerBound, getName, getNumRecords, getSubset, getSuppressionFactor, initialize, isIndependent, isMonotonic, isMultiDimensional, isWeighted, list, round, toString
public MetricWeighted(boolean monotonic, boolean independent)
monotonic
- independent
- protected T getLowerBoundInternal(org.deidentifier.arx.framework.lattice.Transformation node)
Metric
null
.getLowerBoundInternal
in class Metric<T extends InformationLoss<?>>
protected T getLowerBoundInternal(org.deidentifier.arx.framework.lattice.Transformation node, org.deidentifier.arx.framework.check.groupify.HashGroupify groupify)
Metric
null
. getLowerBoundInternal
in class Metric<T extends InformationLoss<?>>
protected void initializeInternal(org.deidentifier.arx.framework.data.DataManager manager, DataDefinition definition, org.deidentifier.arx.framework.data.Data input, org.deidentifier.arx.framework.data.GeneralizationHierarchy[] hierarchies, ARXConfiguration config)
Metric
initializeInternal
in class Metric<T extends InformationLoss<?>>