Package org.deidentifier.arx.metric
Klasse MetricDescription
java.lang.Object
org.deidentifier.arx.metric.MetricDescription
- Alle implementierten Schnittstellen:
Serializable
A class describing a metric and its configuration options.
- Siehe auch:
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract Metric<?> createInstance(MetricConfiguration config) Creates an instance with the given configuration options.getName()Returns a list of all supported aggregate functions.booleanReturns whether an aggregate function is supported by the metric.booleanbooleanbooleanabstract booleanisInstance(Metric<?> metric) Returns whether the given metric is an instance of this description.booleanboolean
-
Methodendetails
-
createInstance
Creates an instance with the given configuration options.- Parameter:
config-- Gibt zurück:
-
getName
- Gibt zurück:
- the name
-
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
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
-