Klasse MetricNMPrecision

java.lang.Object
org.deidentifier.arx.metric.Metric<org.deidentifier.arx.metric.InformationLossDefault>
org.deidentifier.arx.metric.MetricWeighted<org.deidentifier.arx.metric.InformationLossDefault>
org.deidentifier.arx.metric.MetricNMPrecision
Alle implementierten Schnittstellen:
Serializable

public class MetricNMPrecision extends MetricWeighted<org.deidentifier.arx.metric.InformationLossDefault>
This class provides an implementation of a weighted precision metric as proposed in:
Sweeney, L. (2002). Achieving k-anonymity privacy protection using generalization and suppression.
International Journal of Uncertainty Fuzziness and, 10(5), 2002.

This metric will respect attribute weights defined in the configuration.
Siehe auch:
  • Methodendetails

    • createMaxInformationLoss

      public InformationLoss<?> createMaxInformationLoss()
      Beschreibung aus Klasse kopiert: Metric
      Returns an instance of the maximal value.
      Angegeben von:
      createMaxInformationLoss in Klasse Metric<org.deidentifier.arx.metric.InformationLossDefault>
      Gibt zurück:
    • createMinInformationLoss

      public InformationLoss<?> createMinInformationLoss()
      Beschreibung aus Klasse kopiert: Metric
      Returns an instance of the minimal value.
      Angegeben von:
      createMinInformationLoss in Klasse Metric<org.deidentifier.arx.metric.InformationLossDefault>
      Gibt zurück:
    • render

      public ElementData render(ARXConfiguration config)
      Beschreibung aus Klasse kopiert: Metric
      Renders the privacy model
      Angegeben von:
      render in Klasse Metric<org.deidentifier.arx.metric.InformationLossDefault>
      Gibt zurück:
    • toString

      public String toString()
      Beschreibung aus Klasse kopiert: Metric
      Returns the name of metric.
      Setzt außer Kraft:
      toString in Klasse Metric<org.deidentifier.arx.metric.InformationLossDefault>
      Gibt zurück: