NetworkDensity

Extractor for the network density of the environment. The network density is the average number of nodes per unit area. The area is the rectangle given by the outermost nodes in the network.

Constructors

Link copied to clipboard
constructor()

Properties

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

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

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
open 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.