class

PatternMatching::Advanced::TemporalPatternMatcher

Inherits Reference < Object

Temporal pattern matching for sequences and time-based patterns

Constructors

new(atomspace : AtomSpace::AtomSpace, time_window_ms : Int64 = 5000)

Instance methods

atomspace
detect_repeating_patterns(pattern : Pattern, min_occurrences : Int32 = 3) : Array(TemporalMatch)

Detect repeating temporal patterns

match_sequence(patterns : Array(Pattern), sequence_name : String = "default") : Array(TemporalMatch)

Match sequences of patterns within a time window

match_within_interval(pattern : Pattern, interval_ms : Int64) : Array(TemporalMatch)

Match patterns that occur within a specific time interval

temporal_cache
time_window_ms

Nested types