SimulationProvider

constructor(modelCreator: () -> Model, simulationRunCache: SimulationRunCacheIfc? = null)(source)

Secondary constructor for the SimulationProvider class.

Parameters

modelCreator

A lambda function that creates and returns a Model instance. It provides the primary model for the simulation.

simulationRunCache

if supplied the cache will be used to store executed simulation runs.