Article View: comp.lang.prolog
Article #175Re: Breadth_first question
From: Shinji KONO
Date: Fri, 10 Apr 1992 15:26
Date: Fri, 10 Apr 1992 15:26
19 lines
1185 bytes
1185 bytes
In article <13856@star.cs.vu.nl> erwvegm@cs.vu.nl (Erwin van Egmond) writes: >Hi there, > I'm programming something which uses breadthfirst search. > Is there someone out there who knows about this implementation? How about try DIFD search? 0) let depth = 1 1) do depth first search once 2) if no solution increment depth and goto 1) It is easy to implement and stack size can be very small. Of course it is slower than breadth-first search. But you will find if breadth first pays, DIFD pays also. I find it in the book called Search method in AI, but I can't remember exactly. -- Shinji Kono @ Computing Laboratory, University Newcastle upon Tyne kono@csl.sony.co.jp Room: 616 Claremont Bridge from Sony Computer Science Laboratory, Inc, Japan.
Technical Details
Message-ID:
<1992Apr10.152629.23461@newcastle.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!newcastle.ac.uk!tuda!nskReferences:
<13856@star.cs.vu.nl>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!newcastle.ac.uk!tuda!nsk From: Shinji.Kono@newcastle.ac.uk (Shinji KONO) Newsgroups: comp.lang.prolog Subject: Re: Breadth_first question Message-ID: <1992Apr10.152629.23461@newcastle.ac.uk> Date: 10 Apr 92 15:26:29 GMT References: <13856@star.cs.vu.nl> Organization: University of Newcastle upon Tyne, UK NE1 7RU Lines: 19 Nntp-Posting-Host: tuda