extractData

open override fun <T> extractData(environment: Environment<T, *>, reaction: Actionable<T>?, time: Time, step: Long): Map<String, Int>(source)

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

  • contain a single element,

  • have the keys matching columnNames, or

  • be iterable in predictable order (namely, implement SortedMap or extend one of LinkedHashMap or ConcurrentLinkedHashMap).

Return

the extracted properties with their names. The returned map must either: - contain a single element, - have the keys matching columnNames, or - be iterable in predictable order (namely, implement SortedMap or extend LinkedHashMap).

Parameters

environment
the {@link Environment}
reaction
the last executed {@link Reaction}
time
the current {@link Time}
step
the simulation step
concentration type