Loader

interface Loader : Serializable

An entity which is able to produce an Alchemist InitializedEnvironment, resolving user defined variable values.

Functions

Link copied to clipboard
abstract fun getConstants(): Map<String, Any>
Allows to access the currently defined constants, namely variables defined in the simulation file whose value is constant and does not depend on the value of any free variable (directly or indirectly).
Link copied to clipboard
open fun <T, P : Position<P>?> getDefault(): InitializedEnvironment<T, P>
Link copied to clipboard
abstract fun getDependentVariables(): Map<String, DependentVariable<out Any>>
Allows to access the currently defined dependent variable (those variables whose value can be determined given a valid set of values for the free variables).
Link copied to clipboard
abstract fun getRemoteDependencies(): List<String>
Link copied to clipboard
abstract fun getVariables(): Map<String, Variable<out Any>>
Link copied to clipboard
abstract fun <T, P : Position<P>?> getWith(values: Map<String, out Any>): InitializedEnvironment<T, P>