NodesPositions

Exports the positions of all nodes in the environment. The output is a table where, for each node, there is a column per dimension.

Note: this exporter is not designed to handle changes in the environment topology like node removal or addition.

Constructors

Link copied to clipboard
constructor(environment: Environment<T, P>)

Properties

Link copied to clipboard
open override val columnNames: List<String>

The names of the properties that this Extractor can provide as columns.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun <T> extractData(environment: Environment<T, *>, reaction: Actionable<T>?, time: Time, step: Long): Map<String, Double>

Extracts properties from an environment.

Link copied to clipboard
override fun <T> extractDataAsText(environment: Environment<T, *>, reaction: Actionable<T>?, time: Time, step: Long): Map<String, String>

Same as extractData, but specifically meant for textual outputs.