defineAlternatives

fun defineAlternatives(alternatives: Map<String, List<Score>>, allowRescalingByMetrics: Boolean = true)

Defines the alternatives and their scores that should be evaluated by the model. The metrics for the model must have been previously defined prior to specifying the alternatives. The scores supplied for each alternative must have been created for each metric. If insufficient scores or incompatible scores are provided, the alternative is not added to the model. If the alternative has been previously defined, its data will be overwritten by the newly supplied scores. Any alternatives that are new will be added to the alternatives to be evaluated (provided that they have scores for all defined metrics). The supplied scores may not encompass the entire domain of the related metrics. It may be useful to adjust the domain limits (of the metrics) based on the actual (realized) scores that were supplied. Metrics specify whether their domain limits may be adjusted based on realized scores.

Parameters

allowRescalingByMetrics

indicates if rescaling is permitted by metrics or not. True is the default.