Skip to main content

Module pattern_state_machine

Module pattern_state_machine 

Source
Expand description

Generic pattern state machine for sequence detection

Provides pattern matching over event streams:

  • Sequential pattern matching
  • Temporal constraints (WITHIN)
  • Logical operators (AND, OR, NOT, FOLLOWED_BY)
  • State-based pattern tracking

This module is industry-agnostic and works with any events.

Structs§

MatchedEvent
A matched event in a pattern
PatternCondition
A condition for pattern matching
PatternDef
Pattern definition with name
PatternMatch
A completed pattern match
PatternStateMachine
Generic pattern state machine for event sequence detection

Enums§

ComparisonOp
Comparison operators
PatternSequence
Pattern sequence operators