Extractor
An object that is able to extract numeric information from an Alchemist Environment, given the current simulation Time, the last executed Actionable (usually a it.unibo.alchemist.model.Reaction or null) and the current simulation step.
Type Parameters
E
the type of extracted values
Inheritors
Properties
Link copied to clipboard
The names of the properties that this Extractor can provide as columns.
Functions
Link copied to clipboard
abstract fun <T> extractData(environment: Environment<T, *>, reaction: Actionable<T>?, time: Time, step: Long): Map<String, E>
Extracts properties from an environment.
Link copied to clipboard
open 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.