Abstract Environment
Very generic and basic implementation for an environment. Basically, only manages an internal set of nodes and their position.
Parameters
concentration type
Position type
Inheritors
Functions
The number of dimensions of this environment.
Get the Environment's GlobalReactions.
Return the Incarnation used to initialize the entities of this Environment, if it has been set.
Returns all the Nodes that exist in current Environment.
This method allows to know which are the smallest coordinates represented. Return an array of length dimensions containing the smallest coordinates for each dimension.
Return the current Simulation, if present, or throws an IllegalStateException otherwise.
null
otherwise.Given the coordinates of the point, returns a Position compatible with this environment.
Returns a random element of the Iterable using the provided randomGenerator.
Return the current Simulation, if present, or throws an IllegalStateException otherwise.
Returns the EnvironmentSubscriptionMonitor of this Environment.
A function that maps an Environment to its surrogate class (EnvironmentSurrogate). Use the toSuitablePositionSurrogate strategy for PositionSurrogate mapping.
A function that maps an Environment to its surrogate class (EnvironmentSurrogate).
Converts an Environment to a EnvironmentSurrogate.