Изменения
→Псевдокод
=== Псевдокод ===
visited1[u] = ''true''
visited2[v] = ''true''
'''for''' (Transition t : u.transitions)
'''char''' symbol = t.getSymbol()
'''Vertex ''' t1 = u.transitions.getVertex(symbol) '''Vertex ''' t2 = v.transitions.getVertex(symbol)
'''if''' (visited1[t1] '''!=''' visited2[t2])
'''return''' ''false''