Reporter

class Reporter(toConsole: Boolean = false, toFile: Boolean = false, var devicePixelRatio: Double = 1.0, logTimeGranularity: TemporalUnit = ChronoUnit.SECONDS) : AutoCloseable

Class to handle the reporting of the output

Constructors

Link copied to clipboard
constructor(toConsole: Boolean = false, toFile: Boolean = false, devicePixelRatio: Double = 1.0, logTimeGranularity: TemporalUnit = ChronoUnit.SECONDS)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
fun mark(text: String, important: Boolean = false)
Link copied to clipboard
fun plot(id: Int, result: GridSignal, grid: Grid, title: String)

Function to plot the provided signal

Link copied to clipboard
fun <T> report(result: Signal<T>, title: String)
fun <T> report(result: SpatialTemporalSignal<T>, title: String)
Link copied to clipboard
fun title(text: String)