ConstantLayer
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
Functions
Link copied to clipboard
The current value at position.
Link copied to clipboard
fun <T, P : Position<out P>> Layer<T, P>.toGraphQLLayerSurrogate(posMapping: (List<Number>) -> P): LayerSurrogate<T, P>
Converts a it.unibo.alchemist.model.Layer to a LayerSurrogate.