Related articles |
---|
usage of a stack in the eps-closure algorithm eliben@gmail.com (Eli Bendersky) (2004-09-03) |
From: | "Eli Bendersky" <eliben@gmail.com> |
Newsgroups: | comp.compilers |
Date: | 3 Sep 2004 12:41:47 -0400 |
Organization: | http://groups.google.com |
Keywords: | question |
Posted-Date: | 03 Sep 2004 12:41:47 EDT |
Hi all,
I'm referring to the E-closure algorithm for subset construction
(Dragon book Fig 3.26).
A stack is used to hold states whose edges have not been checked for
epsilon transitions. Is a stack necessary for this algorithm ? Wouldn't
a queue work here too ?
I don't have anything personal against stacks, I'm just curious...
Thanks in advance
Eli
Return to the
comp.compilers page.
Search the
comp.compilers archives again.