Breadth-First in Prolog

Posted by Ricardo on Stack Overflow See other posts from Stack Overflow or by Ricardo
Published on 2009-04-20T19:02:49Z Indexed on 2010/03/16 20:41 UTC
Read the original article Hit count: 372

What is the general idea of using breadth-first over the default depth-first search scheme in Prolog?

Not taking infinite branches?

Is there any general way to use breadth-first in Prolog? I've been googling around and I didn't find too much useful info for a novice.

© Stack Overflow or respective owner

Related posts about prolog

Related posts about logic-programming