bobocep.cep.phenom.pattern.predicate.BoboPredicate

class bobocep.cep.phenom.pattern.predicate.BoboPredicate[source]

Bases: abc.ABC

A predicate that evaluates to either True or False.

__init__()
abstract evaluate(event: bobocep.cep.event.event.BoboEvent, history: bobocep.cep.event.history.BoboHistory) bool[source]

Evaluates the predicate.

Parameters
Returns

True if the predicate evaluates to True, False otherwise.

Return type

bool