DefaultLauncher

open class DefaultLauncher @JvmOverloads constructor(val batch: List<String> = emptyList(), val autoStart: Boolean = true, val showProgress: Boolean = true, val parallelism: Int = Runtime.getRuntime().availableProcessors()) : Launcher(source)

The default launcher for simulations. If batch variables are specified, the simulation is run once for each combination of their values. If autoStart is true (default), the simulation is started automatically. If showProgress is true (default), a message is printed to the console every time a simulation completes. If parallelism is greater than 1, the simulations are run in parallel; defaults to the number of logical cores detected by the JVM.

Constructors

Link copied to clipboard
constructor(autoStart: Boolean, showProgress: Boolean = true, parallelism: Int = Runtime.getRuntime().availableProcessors())
constructor(batch: List<String> = emptyList(), autoStart: Boolean = true, showProgress: Boolean = true, parallelism: Int = Runtime.getRuntime().availableProcessors())

Properties

Link copied to clipboard
val autoStart: Boolean = true
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val showProgress: Boolean = true

Functions

Link copied to clipboard
open override fun launch(loader: Loader)

Launches a simulation using the provided loader.