Environment
Base classes for environments that execute actions and produce observations
Classes:
-
CodeExecutionEnvironment
–Environment for the team agents
-
ExternalObservationNeeded
–Environments raise this when they can't make the required observation for an action
-
NoActionsToReactTo
–Environments raise this when there are no actions to react to
CodeExecutionEnvironment
Bases: Environment
Environment for the team agents The only action that the environment can perform is to execute the code blocks
Source code in tapeagents/environment.py
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 |
|
ExternalObservationNeeded
Bases: Exception
Environments raise this when they can't make the required observation for an action
Source code in tapeagents/environment.py
24 25 26 27 28 29 30 31 32 |
|
NoActionsToReactTo
Bases: Exception
Environments raise this when there are no actions to react to
Source code in tapeagents/environment.py
35 36 37 38 39 |
|