bobocep.cep.phenom.pattern.predicate.BoboPredicate

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

Bases: ABC

A predicate that evaluates to either True or False.

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

Evaluates the predicate.

Parameters:
Returns:

True if the predicate evaluates to True, False otherwise.

Return type:

bool