Constant

class Constant<V>(val value: V) : DependentVariable<V>

A constant value, expressed as a variable to promote code reuse in Alchemist specifications.

Constructors

Link copied to clipboard
constructor(value: V)

Properties

Link copied to clipboard
val value: V

Functions

Link copied to clipboard
open override fun getWith(variables: Map<String, Any>): V

Given the current controlled variables, computes the current values for this variable.