Score

data class Score(val metric: MetricIfc, val value: Double, var valid: Boolean = true)

A score represents an evaluation of an alternative, system, or entity based on some metric. Each score is related to a metric and has a value that represents the value of the metric. If there is an issue with computing the score, then the property valid indicates whether the score can be trusted (true) or not (false). The default value of the valid property is true. The supplied value must be within the specified domain of the supplied metric; otherwise, an illegal argument exception will occur.

Constructors

Link copied to clipboard
constructor(metric: MetricIfc, value: Double, valid: Boolean = true)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard