BiomolGradientLayer
class BiomolGradientLayer<P : Position2D<P>>(directionX: Double, directionY: Double, unitVariation: Double, offset: Double) : TimeInvariantLayer<Double, P>
A Layer representing a linear distribution in space of a molecule, which never changes over time.
Type Parameters
P
Position2D type
Constructors
Properties
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.