On Sep 23, 11:49 am, akonsu <ako...@gmail.com> wrote: > On Sep 23, 1:24 am, kpp9c <k...@mac.com> wrote: > > > Very simple finite automaton (?) > > > 1 --> 2 5 > > 2 --> 1 4 > > 3 --> 3 > > 4 --> 1 > > 5 --> 4 3 > > hello, > this is a graph and you are doing depth first search. > konstantin
BREADTH first. sorry :) -- http://mail.python.org/mailman/listinfo/python-list