matrix.Matrix.then

Matrix.then(*, score: float)

The last method in the if-then chain syntatic sugar for declaring what score should a choice receive given the values for the criterion.

Keyword Arguments

score (float) – The score to assign given the criterion value from the if_() method. Must be a keyword argument.

Raises

SyntaxError – If this method is called without calling the if_() method first.

See also

if_()

The first method in the chain