Extractor

interface Extractor<out E : Any>

An object that is able to extract numeric informations from an Alchemist {@link Environment}, given the current {@link it.unibo.alchemist.core.interfaces.Simulation} {@link Time}, the last {@link Reaction} executed and the current simulation step.

Functions

Link copied to clipboard
abstract fun <T> extractData(environment: Environment<T, *>, reaction: Reaction<T>?, time: Time, step: Long): Map<String, E>

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

Properties

Link copied to clipboard
abstract val columnNames: List<String>

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard