ExperimentAlchemistSimulationAdapter

A CSVAlchemistSimulationAdapter that is used to load a simulation result file of the experiment about the Space-Fluid Adaptive Sampling algorithm.

Parameters

gridType

the type of grid used in the experiment

seed

the seed used to select the seed to use for the simulation, i.e. the seed given from MultiVesta

rootOutputFiles

the root folder where the CSV files are stored

See also

Constructors

Link copied to clipboard
constructor(gridType: ExperimentAlchemistSimulationAdapter.GridType, seed: Int, rootOutputFiles: File = File("data"))

Types

Link copied to clipboard

The type of grid used in the experiment.

Properties

Link copied to clipboard

The type of grid used in the experiment.

Link copied to clipboard
Link copied to clipboard
val seed: Int

Functions

Link copied to clipboard
open override fun doStep()

Perform a simulation step. In Alchemist this means that the simulation will be advanced of the number of step needed to reach the next time.

Link copied to clipboard
open override fun getTime(): Double

Get the simulation time.

Link copied to clipboard
open override fun performWholeSimulation()

Perform the whole simulation.

Link copied to clipboard
open override fun rval(obsId: Int): Double
open override fun rval(obs: String): Double

Get the value for the given observation.