Package it.unibo.alchemist.boundary
Interface Exporter
-
-
Method Summary
Modifier and Type Method Description abstract Unit
bindDataExtractors(List<Extractor<?>> dataExtractors)
Assign the list of dataExtractors to the selected Exporter. abstract Unit
bindVariables(Map<String, ?> variables)
Assign the map of variables to the selected Exporter. abstract Unit
setup(Environment<T, P> environment)
Prepare the export environment. abstract Unit
update(Environment<T, P> environment, Actionable<T> reaction, Time time, Long step)
Main method used by exporters to export data. abstract Unit
close(Environment<T, P> environment, Time time, Long step)
Close the export environment. abstract List<Extractor<?>>
getDataExtractors()
The List of Extractor used to export simulations data. -
-
Method Detail
-
bindDataExtractors
abstract Unit bindDataExtractors(List<Extractor<?>> dataExtractors)
Assign the list of dataExtractors to the selected Exporter.
-
bindVariables
abstract Unit bindVariables(Map<String, ?> variables)
-
setup
abstract Unit setup(Environment<T, P> environment)
Prepare the export environment. This method is called only once upon simulation initialization.
-
update
abstract Unit update(Environment<T, P> environment, Actionable<T> reaction, Time time, Long step)
Main method used by exporters to export data. This method is called at each step of the simulation.
-
close
abstract Unit close(Environment<T, P> environment, Time time, Long step)
Close the export environment. This method is called when the simulation finishes.
-
getDataExtractors
abstract List<Extractor<?>> getDataExtractors()
The List of Extractor used to export simulations data.
-
-
-
-