public abstract class MetricDescription
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
abstract Metric<?> |
createInstance(MetricConfiguration config)
Creates an instance with the given configuration options.
|
java.lang.String |
getName() |
java.util.List<Metric.AggregateFunction> |
getSupportedAggregateFunctions()
Returns a list of all supported aggregate functions.
|
boolean |
isAggregateFunctionSupported()
Returns whether an aggregate function is supported by the metric.
|
boolean |
isAttackerModelSupported() |
boolean |
isAttributeWeightsSupported() |
boolean |
isConfigurableCodingModelSupported() |
abstract boolean |
isInstance(Metric<?> metric)
Returns whether the given metric is an instance of this description.
|
boolean |
isMonotonicVariantSupported() |
boolean |
isPrecomputationSupported() |
public abstract Metric<?> createInstance(MetricConfiguration config)
config
- public java.lang.String getName()
public java.util.List<Metric.AggregateFunction> getSupportedAggregateFunctions()
public boolean isAggregateFunctionSupported()
public boolean isAttackerModelSupported()
public boolean isAttributeWeightsSupported()
public boolean isConfigurableCodingModelSupported()
public abstract boolean isInstance(Metric<?> metric)
metric
- public boolean isMonotonicVariantSupported()
public boolean isPrecomputationSupported()