Skip to content

How to learn a Mealy FSM if SUL can only deal with a input sequences (a query) but not each input? #130

Answered by mtf90
LiGuandaTHU asked this question in Q&A
Discussion options

You must be logged in to vote

Most (Mealy) learners expect a MembershipOracle<I, Word<O>> to query the system under learning. So instead of implementing an SUL, you can try to implement the oracle interface directly (or the simplified SingleQueryOracle if you don't care about parallelism). This allows you to process the full input sequence directly and account for the specifics of your system. However, you should respect the Mealy-specific semantics of these queries: a query with n suffix symbols should return a response word with n symbols as well.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by LiGuandaTHU
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants