public class MetricMDHeight extends AbstractMetricMultiDimensional
Metric.AggregateFunction
Modifier | Constructor and Description |
---|---|
protected |
MetricMDHeight()
Creates a new instance.
|
protected |
MetricMDHeight(Metric.AggregateFunction function)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
MetricConfiguration |
getConfiguration()
Returns the configuration of this metric.
|
protected ILMultiDimensionalWithBound |
getInformationLossInternal(Transformation node,
HashGroupify g)
Evaluates the metric for the given node.
|
protected ILMultiDimensionalWithBound |
getInformationLossInternal(Transformation node,
HashGroupifyEntry entry)
Returns the information loss that would be induced by suppressing the given entry.
|
protected AbstractILMultiDimensional |
getLowerBoundInternal(Transformation node)
Returns a lower bound for the information loss for the given node.
|
protected AbstractILMultiDimensional |
getLowerBoundInternal(Transformation node,
HashGroupify groupify)
Returns a lower bound for the information loss for the given node.
|
void |
initialize(int minHeight,
int maxHeight)
For backwards compatibility only.
|
protected void |
initializeInternal(DataManager manager,
DataDefinition definition,
Data input,
GeneralizationHierarchy[] hierarchies,
ARXConfiguration config)
Implement this to initialize the metric.
|
protected boolean |
isAbleToHandleMicroaggregation()
Does this metric handle microaggregation
|
java.lang.String |
toString()
Returns the name of metric.
|
createInformationLoss, createInformationLossWithBound, createInformationLossWithoutBound, createMaxInformationLoss, createMinInformationLoss, getAggregateFunction, getAggregateFunctions, getDimensions, getDimensionsAggregated, getDimensionsGeneralized, getMicroaggregationFunctions, getMicroaggregationStartIndex, initialize, setMax, setMin
createAECSMetric, createAECSMetric, createAmbiguityMetric, createDiscernabilityMetric, createDiscernabilityMetric, createEntropyMetric, createEntropyMetric, createEntropyMetric, createEntropyMetric, createEntropyMetric, createEntropyMetric, createHeightMetric, createHeightMetric, 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, createStaticMetric, createStaticMetric, getDescription, getDescription, getGeneralizationFactor, getGeneralizationSuppressionFactor, getInformationLoss, getInformationLoss, getLowerBound, getLowerBound, getName, getNumRecords, getSubset, getSuppressionFactor, initialize, isIndependent, isMonotonic, isMultiDimensional, isWeighted, list, round
protected MetricMDHeight()
protected MetricMDHeight(Metric.AggregateFunction function)
function
- public MetricConfiguration getConfiguration()
getConfiguration
in class Metric<AbstractILMultiDimensional>
public void initialize(int minHeight, int maxHeight)
minHeight
- maxHeight
- public java.lang.String toString()
Metric
toString
in class Metric<AbstractILMultiDimensional>
protected ILMultiDimensionalWithBound getInformationLossInternal(Transformation node, HashGroupify g)
Metric
getInformationLossInternal
in class Metric<AbstractILMultiDimensional>
node
- The node for which to compute the information lossg
- The groupify operator of the previous checkprotected ILMultiDimensionalWithBound getInformationLossInternal(Transformation node, HashGroupifyEntry entry)
Metric
getInformationLoss(node, groupify)
but is guaranteed to be comparable for
different entries from the same groupify operator.getInformationLossInternal
in class Metric<AbstractILMultiDimensional>
protected AbstractILMultiDimensional getLowerBoundInternal(Transformation node)
Metric
null
.getLowerBoundInternal
in class Metric<AbstractILMultiDimensional>
protected AbstractILMultiDimensional getLowerBoundInternal(Transformation node, HashGroupify groupify)
Metric
null
. getLowerBoundInternal
in class Metric<AbstractILMultiDimensional>
protected void initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)
Metric
initializeInternal
in class AbstractMetricMultiDimensional
protected boolean isAbleToHandleMicroaggregation()
isAbleToHandleMicroaggregation
in class AbstractMetricMultiDimensional