Converting low-level observations to high-level symbolic events
LabellingFunction
class that handles the core functionality:
event
decorator to identify event detection methods__call__
method that runs all event detectors on a transitionLabellingFunction
:
@event
decorator:
(self, obs, action, next_obs)
None
when the event is not detectedlf(obs, action, next_obs)
, it:
@LabellingFunction.event