extractDataAsText

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.

The default implementation converts each extracted value to its textual representation via Any.toString. Implementations may override this method to provide custom formatting (for example numeric formatting or localized representations).

Return

a map of property names to their textual representations

Parameters

environment

the environment from which to extract values

reaction

the last executed actionable (may be null)

time

the current simulation time

step

the current simulation step

Type Parameters

T

the concentration type used by the environment