Klasse MetricMDNMLossPrecomputed

Alle implementierten Schnittstellen:
Serializable

public class MetricMDNMLossPrecomputed extends MetricMDNMLoss
This class implements a variant of the Loss metric. TODO: Add reference.
Siehe auch:
  • Konstruktordetails

    • MetricMDNMLossPrecomputed

      protected MetricMDNMLossPrecomputed()
      Creates a new instance.
    • MetricMDNMLossPrecomputed

      protected MetricMDNMLossPrecomputed(Metric.AggregateFunction function)
      Creates a new instance.
      Parameter:
      function -
    • MetricMDNMLossPrecomputed

      protected MetricMDNMLossPrecomputed(double gsFactor, Metric.AggregateFunction function)
      Creates a new instance.
      Parameter:
      gsFactor -
      function -
  • Methodendetails

    • getConfiguration

      public MetricConfiguration getConfiguration()
      Returns the configuration of this metric.
      Setzt außer Kraft:
      getConfiguration in Klasse MetricMDNMLoss
      Gibt zurück:
    • isAbleToHandleMicroaggregation

      public boolean isAbleToHandleMicroaggregation()
      Beschreibung aus Klasse kopiert: Metric
      Returns whether this metric handles microaggregation
      Setzt außer Kraft:
      isAbleToHandleMicroaggregation in Klasse MetricMDNMLoss
      Gibt zurück:
    • isGSFactorSupported

      public boolean isGSFactorSupported()
      Beschreibung aus Klasse kopiert: Metric
      Returns whether a generalization/suppression factor is supported
      Setzt außer Kraft:
      isGSFactorSupported in Klasse MetricMDNMLoss
      Gibt zurück:
    • isPrecomputed

      public boolean isPrecomputed()
      Beschreibung aus Klasse kopiert: Metric
      Returns whether the metric is precomputed
      Setzt außer Kraft:
      isPrecomputed in Klasse Metric<AbstractILMultiDimensional>
      Gibt zurück:
    • render

      public ElementData render(ARXConfiguration config)
      Beschreibung aus Klasse kopiert: Metric
      Renders the privacy model
      Setzt außer Kraft:
      render in Klasse MetricMDNMLoss
      Gibt zurück:
    • getLowerBoundInternal

      protected AbstractILMultiDimensional getLowerBoundInternal(Transformation<?> node)
      Beschreibung aus Klasse kopiert: Metric
      Returns a lower bound for the information loss for the given node. This can be used to expose the results of monotonic shares of a metric, which can significantly speed-up the anonymization process. If no such metric exists, simply return null.
      Setzt außer Kraft:
      getLowerBoundInternal in Klasse MetricMDNMLoss
      Parameter:
      node -
      Gibt zurück:
    • getLowerBoundInternal

      protected AbstractILMultiDimensional getLowerBoundInternal(Transformation<?> node, HashGroupify g)
      Beschreibung aus Klasse kopiert: Metric
      Returns a lower bound for the information loss for the given node. This can be used to expose the results of monotonic shares of a metric, which can significantly speed-up the anonymization process. If no such metric exists, simply return null.

      This variant of the method allows computing a monotonic share based on a groupified data representation. IMPORTANT NOTE: The groups may not have been classified correctly when the method is called, i.e., HashGroupifyEntry.isNotOutlier may not be set correctly!
      Setzt außer Kraft:
      getLowerBoundInternal in Klasse MetricMDNMLoss
      Parameter:
      node -
      g -
      Gibt zurück:
    • initializeInternal

      protected void initializeInternal(DataManager manager, DataDefinition definition, Data input, GeneralizationHierarchy[] hierarchies, ARXConfiguration config)
      Beschreibung aus Klasse kopiert: Metric
      Implement this to initialize the metric.
      Setzt außer Kraft:
      initializeInternal in Klasse MetricMDNMLoss
      Parameter:
      manager -
      definition -
      input -
      hierarchies -
      config -