TimeInvariantLayer

abstract class TimeInvariantLayer<T, P : Position<out P>> : Layer<T, P> (source)

A Layer whose spatial distribution never changes over time: the value observed at a position is fixed, so observers of a node's layer value are notified only when the node moves.

Implementations define the distribution through currentValueAt.

Type Parameters

T

the type of the value measuring the substance at a position

P

the position type

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract override fun currentValueAt(position: P): T
Link copied to clipboard
override fun valueAt(position: P): Observable<T>