LayerSurrogate

constructor(origin: Layer<T, P>, posMapping: (List<Number>) -> P)

Parameters

T

the concentration type

P

the position

posMapping

the position mapping function from a generic set of coordinates represented as a list of numbers, to an instance of Alchemist Position object