FloatSupplier

A FloatFunction that returns a user-supplied, nullable float when evaluated. Allows the supplied value to be changed and the analysis reevaluated. Analysis reevaluation may produce an updated result after changing the supplied value.

Changing the values supplied to an analysis and reevaluating is more performant than creating and evaluating a new analysis with the new values.

Since

300.2.0

See also

Constructors

Link copied to clipboard
constructor(value: Float?)

Creates a FloatSupplier.

Properties

Link copied to clipboard
var value: Float?

The nullable float supplied to an analysis. After changing the value, evaluation returns the updated value.

Inherited functions

Link copied to clipboard
suspend fun evaluate(): Result<Float?>

Evaluates the function.