ConstantLayer

class ConstantLayer<T, P : Position<out P>>(level: T) : TimeInvariantLayer<T, P> (source)

A Layer whose value is level at every position and never changes.

Parameters

level

the value of the layer

Type Parameters

T

concentration type

P

position type

Constructors

Link copied to clipboard
constructor(level: T)

Functions

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