public class MetricSDAECS extends AbstractMetricSingleDimensional
Metric.AggregateFunction
Modifier | Constructor and Description |
---|---|
protected |
MetricSDAECS()
Creates a new instance.
|
protected |
MetricSDAECS(double rowCount)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
ILSingleDimensional |
createMaxInformationLoss()
Returns an instance of the maximal value.
|
ILSingleDimensional |
createMinInformationLoss()
Returns an instance of the minimal value.
|
MetricConfiguration |
getConfiguration()
Returns the configuration of this metric.
|
protected ILSingleDimensionalWithBound |
getInformationLossInternal(org.deidentifier.arx.framework.lattice.Node node,
org.deidentifier.arx.framework.check.groupify.HashGroupify g)
Evaluates the metric for the given node.
|
protected ILSingleDimensionalWithBound |
getInformationLossInternal(org.deidentifier.arx.framework.lattice.Node node,
org.deidentifier.arx.framework.check.groupify.HashGroupifyEntry entry)
Returns the information loss that would be induced by suppressing the given entry.
|
protected ILSingleDimensional |
getLowerBoundInternal(org.deidentifier.arx.framework.lattice.Node node)
Returns a lower bound for the information loss for the given node.
|
protected ILSingleDimensional |
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.
|
java.lang.String |
toString()
Returns the name of metric.
|
getNumTuples, initializeInternal, setNumTuples
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, getDescription, getDescription, getInformationLoss, getInformationLoss, getLowerBound, getLowerBound, getName, initialize, isIndependent, isMonotonic, isMultiDimensional, isWeighted, list, round
protected MetricSDAECS()
protected MetricSDAECS(double rowCount)
rowCount
- public ILSingleDimensional createMaxInformationLoss()
Metric
createMaxInformationLoss
in class AbstractMetricSingleDimensional
public ILSingleDimensional createMinInformationLoss()
Metric
createMinInformationLoss
in class AbstractMetricSingleDimensional
public MetricConfiguration getConfiguration()
getConfiguration
in class Metric<ILSingleDimensional>
public java.lang.String toString()
Metric
toString
in class Metric<ILSingleDimensional>
protected ILSingleDimensionalWithBound getInformationLossInternal(org.deidentifier.arx.framework.lattice.Node node, org.deidentifier.arx.framework.check.groupify.HashGroupifyEntry entry)
Metric
getInformationLoss(node, groupify)
but is guaranteed to be comparable for
different entries from the same groupify operator.getInformationLossInternal
in class Metric<ILSingleDimensional>
protected ILSingleDimensionalWithBound getInformationLossInternal(org.deidentifier.arx.framework.lattice.Node node, org.deidentifier.arx.framework.check.groupify.HashGroupify g)
Metric
getInformationLossInternal
in class Metric<ILSingleDimensional>
node
- The node for which to compute the information lossg
- The groupify operator of the previous checkprotected ILSingleDimensional getLowerBoundInternal(org.deidentifier.arx.framework.lattice.Node node)
Metric
null
.getLowerBoundInternal
in class Metric<ILSingleDimensional>
protected ILSingleDimensional getLowerBoundInternal(org.deidentifier.arx.framework.lattice.Node node, org.deidentifier.arx.framework.check.groupify.HashGroupify groupify)
Metric
null
. getLowerBoundInternal
in class Metric<ILSingleDimensional>