bobocep.cep.phenom.pattern.pattern.BoboPattern
- class bobocep.cep.phenom.pattern.pattern.BoboPattern(name: str, blocks: List[bobocep.cep.phenom.pattern.pattern.BoboPatternBlock], preconditions: List[bobocep.cep.phenom.pattern.predicate.BoboPredicate], haltconditions: List[bobocep.cep.phenom.pattern.predicate.BoboPredicate])[source]
Bases:
objectA pattern that represents a means by which to detect the occurrence of some phenomenon.
- __init__(name: str, blocks: List[bobocep.cep.phenom.pattern.pattern.BoboPatternBlock], preconditions: List[bobocep.cep.phenom.pattern.predicate.BoboPredicate], haltconditions: List[bobocep.cep.phenom.pattern.predicate.BoboPredicate])[source]
- Parameters
name – The pattern name.
blocks – The pattern blocks.
preconditions – The pattern preconditions.
haltconditions – The pattern haltconditions.
- property blocks: Tuple[bobocep.cep.phenom.pattern.pattern.BoboPatternBlock, ...]
- Returns
Pattern blocks.
- property haltconditions: Tuple[bobocep.cep.phenom.pattern.predicate.BoboPredicate, ...]
- Returns
Pattern haltconditions.
- property name: str
- Returns
Pattern name.
- property preconditions: Tuple[bobocep.cep.phenom.pattern.predicate.BoboPredicate, ...]
- Returns
Pattern preconditions.