extractData
abstract fun <T> extractData(environment: Environment<T, *>, reaction: Actionable<T>?, time: Time, step: Long): Map<String, E>(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}
Content copied to clipboard
reaction
the last executed {@link Reaction}
Content copied to clipboard
time
the current {@link Time}
Content copied to clipboard
step
the simulation step
Content copied to clipboard