3622
правки
Изменения
м
'''if''' (v.transitions.size '''!=''' u.transitions.size)
'''return''' ''false''
'''return''' ''false'' '''for''' (<tex>\langle c, q \rangle</tex> : u.transitions) '''if''' ('''not''' v.transitions.existTransition(c)) '''return''' ''false''
→Псевдокод
visited1[u] = ''true''
visited2[v] = ''true''
'''if''' (v.terminal '''!=''' u.terminal)
'''boolean''' result = ''true''