ScenarioRunner

constructor(name: String, scenarioList: List<Scenario> = emptyList(), pathToOutputDirectory: Path = KSL.createSubDirectory(sanitizeForFilesystem(name) + "_OutputDir"), kslDb: KSLDatabase? = KSLDatabase("${sanitizeForFilesystem(name)}.db", pathToOutputDirectory))(source)

Parameters

name

of the scenario runner. By default, this name is used as the name of the database

scenarioList

a list of scenarios to execute

kslDb

optional KSLDatabase that persists the results from the scenarios; when null, no database is opened or written and results remain in-memory only