coopihc.observation.WrapAsObservationEngine.WrapAsObservationEngine
- class WrapAsObservationEngine(obs_bundle)[source]
Bases:
coopihc.observation.BaseObservationEngine.BaseObservationEngine
Wrap a bundle as an Observation Engine
- Parameters
obs_bundle (Bundle :py:mod:<coopihc.bundle>) – bundle that simulates an observation process
Methods
Apply this decorator to use bundle.game_state as default value to observe if game_state = None
observe
observe_from_substates
reset _summary_
step
Attributes
returns the last action
bundle
game_state
returns the last observation
unwrapped
- static default_value(func)
Apply this decorator to use bundle.game_state as default value to observe if game_state = None