Package it.unibo.alchemist.loader.export.extractors

Types

Link copied to clipboard
class ExecutionTime : Extractor<Double>

An extractor which provides informations about the running time of the simulation.

Link copied to clipboard
class MeanSquaredError<T> @JvmOverloads constructor(incarnation: Incarnation<T, *>, localCorrectValueMolecule: String, localCorrectValueProperty: String, statistics: String, localValueMolecule: String, localValueProperty: String) : Extractor<Double>

Exports the Mean Squared Error for the concentration of some molecule, given another molecule that carries the correct result. The correct value is extracted from every node, then the provided {@link UnivariateStatistic} is applied to get a single, global correct value. Then, the actual value is extracted from every node, its value is compared (subtracted) to the computed correct value, it gets squared, and then logged.

Link copied to clipboard
class MoleculeReader(moleculeName: String, property: String?, incarnation: Incarnation<*, *>, filter: FilteringPolicy, aggregatorNames: List<String>) : Extractor<Double>

Reads the value of a molecule and logs it.

Link copied to clipboard
class NumberOfNodes : Extractor<Int>

Logs the number of nodes in the scenario.

Link copied to clipboard
class Time : Extractor<Double>

Exports a column with the current time.