Benchmarkable Environment
An environment which provides a mean to get infos about its performances.
Parameters
<T>
Concentration type
<P>
Position type
Functions
Link copied to clipboard
Add a GlobalReaction to the Environment.
Link copied to clipboard
Link copied to clipboard
Call this method to tell this environment that it should record its performances.
Link copied to clipboard
Link copied to clipboard
The number of dimensions of this environment.
Link copied to clipboard
Link copied to clipboard
Get the Environment's GlobalReactions.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Given a node, this method returns its neighborhood.
Link copied to clipboard
Allows to access a node known its id.
Link copied to clipboard
Link copied to clipboard
Given a Position(center) this method returns a list of all the surroundings nodes within the given range.
Given a node (center) this method returns a list of all the surroundings nodes within the given range.
Link copied to clipboard
Calculates the position of a node.
Link copied to clipboard
Link copied to clipboard
This method returns the size of the environment as an array of length getDimensions.
Link copied to clipboard
This method returns the size of the environment as an array of length getDimensions.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
This method moves a node in the environment to some position.
Link copied to clipboard
Remove a GlobalReaction from the Environment.
Link copied to clipboard
This method allows to remove a node.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T, P : Position<out P>> Environment<T, P>.subscriptionMonitor(): EnvironmentSubscriptionMonitor<T, P>
Returns the EnvironmentSubscriptionMonitor of this Environment.
Link copied to clipboard
fun <T, P : Position<out P>> Environment<T, P>.toGraphQLEnvironmentSurrogate(): EnvironmentSurrogate<T, P>
Converts an Environment to a EnvironmentSurrogate.