ConstantLayer

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

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

The current value at position.

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

The value at position, as an observable emitting every change of that value.