Converting environment states to symbolic events
LabellingFunction
class provided by the CRM framework.
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.