bobocep.cep.phenom.pattern.predicate.BoboPredicate
- class bobocep.cep.phenom.pattern.predicate.BoboPredicate[source]
Bases:
ABCA predicate that evaluates to either True or False.
- __init__()
- abstract evaluate(event: BoboEvent, history: BoboHistory) bool[source]
Evaluates the predicate.
- Parameters:
event (BoboEvent) – An event.
history (BoboHistory) – A history of events.
- Returns:
True if the predicate evaluates to True, False otherwise.
- Return type:
bool