YesNo

data class YesNo(val probability: Double) : Answer

How likely the answer is yes: probability is 0 for a certain no and 1 for a certain yes.

Constructors

Link copied to clipboard
constructor(probability: Double)

Properties

Link copied to clipboard

true when yes is more likely than no. Compare probability yourself for a stricter line.

Link copied to clipboard