ExporterContext

interface ExporterContext<T, P : Position<P>>

DSL scope for configuring exporters by collecting Extractor instances.

Implementations of this context are expected to translate unary-minus applications on extractors into registrations/collection operations (e.g., adding the extractor to a list that will later be bound to an exporter).

The type parameters are carried to keep the DSL aligned with the simulation types, even though this context only deals with extractors at the boundary layer.

Type Parameters

T

the concentration type used by the simulation.

P

the position type used by the environment.

Functions

Link copied to clipboard
abstract operator fun Extractor<*>.unaryMinus()

Registers this Extractor in the current exporter configuration.