CSVExporter
Writes on file data provided by a number of {@link Extractor}s. Produces a CSV with '#' as comment character.e
Parameters
the starting name of the file to export data to.
the sampling time, defaults to AbstractExporter.DEFAULT_INTERVAL.
if no path is specified it will generate the file inside a temporary folder.
if true it will always generate a new file, false to overwrite.
the extension for the exported files, by default 'csv'
Constructors
Properties
The List of Extractor used to export simulations data.
Functions
Assign the list of dataExtractors to the selected Exporter.
Delegates the concrete implementation of this method to his subclasses.
Prepare the export environment. This method is called only once upon simulation initialization.
Every step of the simulation check if is time to export data depending on the sampling interval. Converts the division of the current time and the interval to Long in order to export data only when the difference between steps is as big as the sampling interval.