Klasse MetricDescription

java.lang.Object
org.deidentifier.arx.metric.MetricDescription
Alle implementierten Schnittstellen:
Serializable

public abstract class MetricDescription extends Object implements Serializable
A class describing a metric and its configuration options.
Siehe auch:
  • Methodendetails

    • createInstance

      public abstract Metric<?> createInstance(MetricConfiguration config)
      Creates an instance with the given configuration options.
      Parameter:
      config -
      Gibt zurück:
    • getName

      public String getName()
      Gibt zurück:
      the name
    • getSupportedAggregateFunctions

      public List<Metric.AggregateFunction> getSupportedAggregateFunctions()
      Returns a list of all supported aggregate functions.
      Gibt zurück:
    • isAggregateFunctionSupported

      public boolean isAggregateFunctionSupported()
      Returns whether an aggregate function is supported by the metric.
      Gibt zurück:
    • isAttackerModelSupported

      public boolean isAttackerModelSupported()
      Gibt zurück:
      the attackerModelSupported
    • isAttributeWeightsSupported

      public boolean isAttributeWeightsSupported()
      Gibt zurück:
      the attributeWeightsSupported
    • isConfigurableCodingModelSupported

      public boolean isConfigurableCodingModelSupported()
      Gibt zurück:
      the configurableCodingModelSupported
    • isInstance

      public abstract boolean isInstance(Metric<?> metric)
      Returns whether the given metric is an instance of this description.
      Parameter:
      metric -
      Gibt zurück:
    • isMonotonicVariantSupported

      public boolean isMonotonicVariantSupported()
      Gibt zurück:
      the monotonicVariantSupported
    • isPrecomputationSupported

      public boolean isPrecomputationSupported()
      Gibt zurück:
      the precomputationSupported