Processing Constraints and Preferences on Sequences, Recognizing Sequences, Automata, and Reactive Patterns #1770
AdamSobieski
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. Here is a sketch from a project of mine (Nifty) of a sequence recognizer based on
System.IObserver<>
:The
OnNext()
method returns anIObserver<>
which represents, or maps with, a next state from an automaton.The Boolean
Continue
property indicates that, from the current state, future sequences may exist which could beRecognized
.The Boolean
Recognized
property indicates that, at the current state, the input sequence is valid.These concepts are useful for heuristic search, automated planning, and for otherwise recognizing valid sequences. I'm considering approaches, e.g., fluent approaches, for describing and specifying such automata.
Any thoughts on these topics blending reactive patterns and automata theory? If not this interface, how would you design such an interface? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions