Klasse MetricConfiguration

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

public class MetricConfiguration extends Object implements Serializable
A class for a configuration of a metric.
Siehe auch:
  • Konstruktordetails

    • MetricConfiguration

      public MetricConfiguration(boolean monotonic, double gsFactor, boolean precomputed, double precomputationThreshold, Metric.AggregateFunction aggregateFunction)
      Constructs a new instance.
      Parameter:
      monotonic -
      gsFactor -
      precomputed -
      precomputationThreshold -
      aggregateFunction -
      attackerModel -
  • Methodendetails

    • getAggregateFunction

      public Metric.AggregateFunction getAggregateFunction()
      Gibt zurück:
      the aggregateFunction
    • getGsFactor

      public double getGsFactor()
      Gibt zurück:
      the gsFactor
    • getPrecomputationThreshold

      public double getPrecomputationThreshold()
      Gibt zurück:
      the precomputationThreshold
    • isMonotonic

      public boolean isMonotonic()
      Gibt zurück:
      the monotonic
    • isPrecomputed

      public boolean isPrecomputed()
      Gibt zurück:
      the precomputed
    • setAggregateFunction

      public void setAggregateFunction(Metric.AggregateFunction aggregateFunction)
      Parameter:
      aggregateFunction - the aggregateFunction to set
    • setGsFactor

      public void setGsFactor(double gsFactor)
      Parameter:
      gsFactor - the gsFactor to set
    • setMonotonic

      public void setMonotonic(boolean monotonic)
      Parameter:
      monotonic - the monotonic to set
    • setPrecomputationThreshold

      public void setPrecomputationThreshold(double precomputationThreshold)
      Parameter:
      precomputationThreshold - the precomputationThreshold to set
    • setPrecomputed

      public void setPrecomputed(boolean precomputed)
      Parameter:
      precomputed - the precomputed to set