alchemist-interfaces / it.unibo.alchemist.core.interfaces / Simulation / getEnvironment

getEnvironment

abstract fun getEnvironment(): Environment<T, P>!

Allows to access the current environment.

Return
Environment<T, P>!: a reference to the current Environment. The environment is not a copy but back-ends the real environment used in the simulation. Manipulate it carefully