Class LayerSurrogateKt
-
- All Implemented Interfaces:
public final class LayerSurrogateKt
-
-
Method Summary
Modifier and Type Method Description final static <T extends Any, P extends Position<out P>> LayerSurrogate<T, P>
toGraphQLLayerSurrogate(Layer<T, P> $self, Function1<List<Number>, P> posMapping)
Converts a it.unibo.alchemist.model.Layer to a LayerSurrogate. -
-
Method Detail
-
toGraphQLLayerSurrogate
final static <T extends Any, P extends Position<out P>> LayerSurrogate<T, P> toGraphQLLayerSurrogate(Layer<T, P> $self, Function1<List<Number>, P> posMapping)
Converts a it.unibo.alchemist.model.Layer to a LayerSurrogate.
- Parameters:
posMapping
- the position mapping function.- Returns:
a LayerSurrogate for this it.unibo.alchemist.model.Layer
-
-
-
-