EnvironmentSurrogate
data class EnvironmentSurrogate<T, P : Position<out P>>(val origin: Environment<T, P>, val dimensions: Int = origin.dimensions) : GraphQLSurrogate<Environment<T, P>> (source)
A surrogate for Environment.
Parameters
T
the concentration type
P
the position
dimensions
the number of dimensions of this environment.
Functions
Link copied to clipboard
Clone the node associated with the given id to the specified position.
Link copied to clipboard
Returns the LayerSurrogate associated with the molecule represented by the given MoleculeInput.
Link copied to clipboard
Returns the neighborhood of the node with the given id.
Link copied to clipboard
Returns the node with the given id.
Link copied to clipboard
The nodes inside this environment.
Link copied to clipboard
Returns a NodeToPosMap representing all nodes associated with their position.