public class MetricStatic extends MetricWeighted<org.deidentifier.arx.metric.InformationLossDefault>
Metric.AggregateFunction| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,java.util.List<java.lang.Double>> |
_infoloss
The user defined information loss per level, indexed by column name.
|
weights| Modifier | Constructor and Description |
|---|---|
protected |
MetricStatic(java.util.Map<java.lang.String,java.util.List<java.lang.Double>> infoloss)
Constructor.
|
| 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 InformationLossWithBound<org.deidentifier.arx.metric.InformationLossDefault> |
getInformationLossInternal(org.deidentifier.arx.framework.lattice.Transformation<?> node,
org.deidentifier.arx.framework.check.groupify.HashGroupify g)
Evaluates the metric for the given node.
|
protected InformationLossWithBound<org.deidentifier.arx.metric.InformationLossDefault> |
getInformationLossInternal(org.deidentifier.arx.framework.lattice.Transformation<?> node,
org.deidentifier.arx.framework.check.groupify.HashGroupifyEntry entry)
Returns the information loss that would be induced by suppressing the given entry.
|
protected org.deidentifier.arx.metric.InformationLossDefault |
getLowerBoundInternal(org.deidentifier.arx.framework.lattice.Transformation<?> 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.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.
|
ElementData |
render(ARXConfiguration config)
Renders the privacy model
|
java.lang.String |
toString()
Returns the name of metric.
|
createAECSMetric, createAECSMetric, createAmbiguityMetric, createClassificationMetric, createClassificationMetric, createDiscernabilityMetric, createDiscernabilityMetric, createEntropyBasedInformationLossMetric, createEntropyBasedInformationLossMetric, createEntropyMetric, createEntropyMetric, createEntropyMetric, createEntropyMetric, createEntropyMetric, createEntropyMetric, createHeightMetric, createHeightMetric, createInstanceOfHighestScore, createInstanceOfLowestScore, 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, createPublisherPayoutMetric, createPublisherPayoutMetric, createStaticMetric, createStaticMetric, getAggregateFunction, getConfiguration, getDescription, getDescription, getGeneralizationFactor, getGeneralizationSuppressionFactor, getInformationLoss, getInformationLoss, getLowerBound, getLowerBound, getName, getNumRecords, getScore, getSubset, getSuppressionFactor, initialize, isAbleToHandleClusteredMicroaggregation, isAbleToHandleMicroaggregation, isGSFactorSupported, isIndependent, isMonotonic, isMonotonicWithGeneralization, isMonotonicWithSuppression, isMultiDimensional, isPrecomputed, isScoreFunctionSupported, isWeighted, list, roundprotected final java.util.Map<java.lang.String,java.util.List<java.lang.Double>> _infoloss
protected MetricStatic(java.util.Map<java.lang.String,java.util.List<java.lang.Double>> infoloss)
infoloss - public InformationLoss<?> createMaxInformationLoss()
MetriccreateMaxInformationLoss in class Metric<org.deidentifier.arx.metric.InformationLossDefault>public InformationLoss<?> createMinInformationLoss()
MetriccreateMinInformationLoss in class Metric<org.deidentifier.arx.metric.InformationLossDefault>public ElementData render(ARXConfiguration config)
Metricpublic java.lang.String toString()
Metricprotected InformationLossWithBound<org.deidentifier.arx.metric.InformationLossDefault> getInformationLossInternal(org.deidentifier.arx.framework.lattice.Transformation<?> node, org.deidentifier.arx.framework.check.groupify.HashGroupify g)
MetricgetInformationLossInternal in class Metric<org.deidentifier.arx.metric.InformationLossDefault>node - The node for which to compute the information lossg - The groupify operator of the previous checkprotected InformationLossWithBound<org.deidentifier.arx.metric.InformationLossDefault> getInformationLossInternal(org.deidentifier.arx.framework.lattice.Transformation<?> node, org.deidentifier.arx.framework.check.groupify.HashGroupifyEntry entry)
MetricgetInformationLoss(node, groupify) but is guaranteed to be comparable for
different entries from the same groupify operator.getInformationLossInternal in class Metric<org.deidentifier.arx.metric.InformationLossDefault>protected org.deidentifier.arx.metric.InformationLossDefault getLowerBoundInternal(org.deidentifier.arx.framework.lattice.Transformation<?> node)
Metricnull.getLowerBoundInternal in class MetricWeighted<org.deidentifier.arx.metric.InformationLossDefault>protected org.deidentifier.arx.metric.InformationLossDefault getLowerBoundInternal(org.deidentifier.arx.framework.lattice.Transformation<?> node,
org.deidentifier.arx.framework.check.groupify.HashGroupify groupify)
Metricnull. getLowerBoundInternal in class MetricWeighted<org.deidentifier.arx.metric.InformationLossDefault>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)
MetricinitializeInternal in class MetricWeighted<org.deidentifier.arx.metric.InformationLossDefault>