ExecutionTime

class ExecutionTime @JvmOverloads constructor(val precision: Int? = null) : AbstractDoubleExporter

An extractor which provides informations about the running time of the simulation. Optionally, a precision (significant digits) can be provided.

Constructors

Link copied to clipboard
constructor(precision: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val columnNames: List<String>
Link copied to clipboard
val precision: Int? = null

Functions

Link copied to clipboard
open override fun <T> extractData(environment: Environment<T, *>, reaction: Actionable<T>?, time: Time, step: Long): Map<String, Double>

Extracts properties from an environment. The returned map must either:

Link copied to clipboard
override fun <T> extractDataAsText(environment: Environment<T, *>, reaction: Actionable<T>?, time: Time, step: Long): Map<String, String>

Same as extractData, but specifically meant for textual outputs. Captures E to String conversions. The default implementation just runs a toString() conversion ver extractData's return value's values.