AdditiveMODAModel

constructor(names: Set<String>)

Constructs a default additive MODA model. The supplied names are used to create default metrics using linear value functions with equal weighting.


constructor(metricDefinitions: Map<MetricIfc, ValueFunctionIfc>, weights: Map<MetricIfc, Double> = makeEqualWeights(metricDefinitions.keys), name: String? = null)

Parameters

metricDefinitions

the definition for each metric and the value function to apply for the metric

weights

the weights for each metric, by default they will be equal