AlternativeDefinitionResult

data class AlternativeDefinitionResult(val accepted: List<String>, val rejected: List<AlternativeRejection>)(source)

Which of the offered alternatives a model took in, and why it left out any that it did not.

Parameters

accepted

the names of the alternatives now held by the model, in the order offered

rejected

one entry for each alternative that was not taken in, saying why

Constructors

Link copied to clipboard
constructor(accepted: List<String>, rejected: List<AlternativeRejection>)

Properties

Link copied to clipboard
Link copied to clipboard

Indicates whether every offered alternative was taken in.

Link copied to clipboard

Functions

Link copied to clipboard

The rejections as lines of text, suitable for logging or showing to a user.