TotalScoreUnitAggregator

A ScoreUnitAggregator which aggregates from a list of ScoreReportUnit and scales against a fixed maximum score.

Parameters

maxScore

The maximum score to scale to, or null if scoring is disabled.

scoreClipping

The minimum/maximum range of the final score, or null if clipping is disabled.

Constructors

Link copied to clipboard
constructor(scoreUnits: List<ScoreReportUnit>?, maxScore: Double?, scoreClipping: ClosedFloatingPointRange<Double>?, denormHandling: ConfigUnit.TotalScorable.DenormHandling?)

Properties

Link copied to clipboard

The score of this report unit.

Link copied to clipboard
protected open override val scoreUnits: List<ScoreReportUnit>?

The list of input ScoreReportUnit.