Hello,
Thank you for your answer,
I'm wondering why I have to check if the automata intersect and not if
aut_1.contains(word_automata)?
Best Regards,
Roi
On Sun, 8 Nov 2020 at 12:03, Alexandre Duret-Lutz <adl(a)lrde.epita.fr> wrote:
On Fri, Nov 6, 2020 at 2:29 PM רועי פוגלר <roi.fogler(a)gmail.com> wrote:
Is there a way to "ask" an automata if
it accepts a word?
Simply convert your word to an automaton and check if the two automata
intersect.
--
Alexandre Duret-Lutz