Replies: 1 comment 2 replies
-
Most (DFA-based) learning algorithms only require a This interface requires you to return for a prefix and suffix whether the concatenated word is accepted by your system. Here, you can implement you system logic (e.g., whether the binary representation is divisable by 3). For setting up the rest of the learning process, you can have a look at the examples and simply replace the oracles with your own implementation. If you have further questions, feel free to ask. |
Beta Was this translation helpful? Give feedback.
-
I have a certain DFA in mind of which I know the accept condition, but I dont explicitly know how the DFA looks like.
The alphabet of the DFA is {0,1} and a word should be accepted if and only if its decimal representation is divisable by 3 for example (but it can also be any other number other than 3)
Can you give me the code where the SUL instance is defined and the SUL is then learned with a learning algorithm?
Beta Was this translation helpful? Give feedback.
All reactions