Converting environment states to symbolic events
LabellingFunction
class.
Symbol
enum defines the set of possible symbolic events that can be detected in the environment:
Symbol.A
: Represents seeing the letter ASymbol.B
: Represents seeing the letter BSymbol.C
: Represents seeing the letter C@LabellingFunction.event
to indicate that it’s an event detector.
[1, 1]
) and the symbol has not been seen yet (next_obs[0] == 0
). If true, it returns the Symbol.A
event.
[1, 1]
) and the symbol has been seen (next_obs[0] == 1
). If true, it returns the Symbol.B
event.
[1, 5]
) and the symbol has been seen (next_obs[0] == 1
). If true, it returns the Symbol.C
event.
None