Environment
Agent and Environment are all defined in Melodie.boost for better performance, and you may find it will only jump to a .pyi file if you are trying to jump into the code. If you would like to view the source code, please visit our git repository. The path to related files are listed below:
Stub File: Melodie/boost/basics.pyi
Source Code: Melodie/boost/basics.pyx
Cython Interface: Melodie/boost/basics.pxd
- class Melodie.Environment
- scenario
Current scenario object, of type
Melodie.Scenario
.
- model
The model that this environment belongs to.
- setup()
The setup method of the environment. Use self.scenario to get the parameters from the scenario.
- to_dict(properties: List[str]) Dict
Dump Environment to a plain dict.
- Parameters:
properties –