Re: [cs-lisp] Re: Another programming challenge - Another Clue Re: [cs-discuss] PHP+MySQL versus Lisp: Shortest Path problemi ile ilgili -

2005-12-20 Başlik Emre Sevinç
Aycan iRiCAN wrote: Merhaba, Bahsedilen BFS algoritmasının ağaçlar (trees not graphs) üzerinde çalıştığını hatırlatmakta fayda var. Paul Graham'ın algoritması yapay zeka programlamada kullanılan temel arama algoritmalarından belkide en basitinin kısaca yazılmış hali. In computer science

Re: [cs-lisp] Re: Another programming challenge - Another Clue Re: [cs-discuss] PHP+MySQL versus Lisp: Shortest Path problemi ile ilgili -

2005-12-20 Başlik Evrim ULU
Emre Sevinç wrote: Graf üzerinde calismamasi gibi bir durum söz konusu degil bildigim kadari ile. Bu baglamda, bir graf üzerinden ilerlerken bir agac olusturmus olursunuz. Mrb, http://en.wikipedia.org/wiki/Breadth-first_search adresini oneriniz uzerine ziyaret ettim. Bu algoritmayi daha once

Re: [cs-lisp] Re: Another programming challenge - Another Clue Re: [cs-discuss] PHP+MySQL versus Lisp: Shortest Path problemi ile ilgili -

2005-12-18 Başlik Aycan iRiCAN
Merhaba, Bahsedilen BFS algoritmasının ağaçlar (trees not graphs) üzerinde çalıştığını hatırlatmakta fayda var. Paul Graham'ın algoritması yapay zeka programlamada kullanılan temel arama algoritmalarından belkide en basitinin kısaca yazılmış hali. Siz assoc'da ne gibi bir problem gördünüz

[cs-lisp] Re: Another programming challenge - Another Clue Re: [cs-discuss] PHP+MySQL versus Lisp: Shortest Path problemi ile ilgili -

2005-12-17 Başlik Chris Stephenson
Emre and everyone Kod dzgn almyor The Graham code , even with input in the correct format, does NOT work correctly. Consider this input (shortest-path 1 54 '((1 5 ) (5 1 12 17) ( 12 26 28 55) (17 1))) This should produce the answer () or nil, because there is no path from 1 to 54. It