api.config.transition_engine
Classes
The Transition Engine class. This class is responsible for managing the state of the environment and stepping the |
Module Contents
- class api.config.transition_engine.TransitionEngine
Bases:
Generic
[api.typing.AgentID
,api.typing.StateType
,api.typing.EngineActionType
]The Transition Engine class. This class is responsible for managing the state of the environment and stepping the environment forward in time.
- property agents: List[api.typing.AgentID]
- Abstractmethod:
- property max_num_agents: int
- Abstractmethod:
- property state: api.typing.StateType
- Abstractmethod:
- property config: Dict[str, Any]
- Abstractmethod:
- abstract step(actions: Dict[api.typing.AgentID, api.typing.EngineActionType], shared_info: Dict[str, Any]) api.typing.StateType
- abstract create_base_state() api.typing.StateType
- abstract set_state(desired_state: api.typing.StateType, shared_info: Dict[str, Any]) api.typing.StateType
- abstract close() None