1 / 8

Arama ağıcını çiziniz.

S-1: Yandaki şekilde verilen durum uzayında, düğümler arası sayılar gerçek değerleri, kareler içindeki sayılar ise sezgisel değerleri ifade etmektedir. S başlangıç, F ve G ise amaçtır. Buna göre aşağıdaki aramaların sonuçlarını liste halinde belirtiniz. S. Arama ağıcını çiziniz.

Download Presentation

Arama ağıcını çiziniz.

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. S-1: Yandaki şekilde verilen durum uzayında, düğümler arası sayılar gerçek değerleri, kareler içindeki sayılar ise sezgisel değerleri ifade etmektedir. S başlangıç, F ve G ise amaçtır. Buna göre aşağıdaki aramaların sonuçlarını liste halinde belirtiniz.

  2. S • Arama ağıcını çiziniz. Not: Genişletilen düğümlerin çocuklarını alfabetik sıraya göre yerleştiriniz.) (6 Puan) A B C C G B D E A D E F G F

  3. b) Breath First arama (8 Puan) 0 {S0} {A1,B2} {B2,C3} {C3,C4,G5} {C4,G5,B6,D7,E8} {G5,B6,D7,E8,A9,D10,E11} BFS={S0,A1,B2,C3,C4,G5} c)Depth First arama (8 Puan) {S0} {A1,B2} {C3,B2} {B6,D7,E8,B2} {G12,D7,E8,B2} DFS={S0,A1,C3,B6,G12} 1 2 3 4 5 6 7 8 9 10 11 F 12 13 14

  4. d) Uniform Cost arama (8 Puan) {S0} {A2,B3} {B3,C4} {C4,C7,G9} {D6,C7,B8,E8,G9} {C7,B8,E8,F8,G9} {B8,E8,F8,G9,A9,D9,E11} {E8,F8,G9,A9,D9,E11,G14} {F8,G9,A9,D9,E11,G14} UCS={S0,A2,C4,D6,F8} 11 F

  5. e) Greedy Best First Search {S5} {A3,B4} {C3,B4} {E1,D2,B4,B4} {D2,B4,B4} {F0,B4,B4} GBFS={S,A,C,E,D,F} f) Hill Climbing Search {S5} {A3,B4} {C3,B4} {E1,D2,B4,B4} {} HCS={S,A,C,E} 5 3 4 3 0 3 4 2 1 1 3 2 F 0 0 0

  6. g) A* arama (8 Puan) {S5} {A5,B7} {B7,C7} {C7,G9,C10} {D8,E9,G9,C10,B12} {F8,E9,G9,C10,B12} UCS={S5,A5, B7, C7,D8,F8} h) IDA* arama (8 Puan) f-maliyet = 5 için {S5} {A5,B7} {C7,B7} (5 ten büyük olduğu için C düşer) {B7} (5 ten büyük olduğu için B düşer) {}

  7. h) IDA* arama (8 Puan) f-maliyet = 7 için {S5} {A5,B7} {C7,B7} {B12,D8,E9 ,B7} {D8,E9 ,B7} (maliyeti >7 olduğundan B düşer ) {E9 ,B7} (maliyeti >7 olduğundan D düşer ) {B7} (maliyeti >7 olduğundan E düşer ) {C10,G9} {G9} (maliyeti >7 olduğundan C düşer ) {} (maliyeti >7 olduğundan G düşer )

  8. h) IDA* arama (8 Puan) f-maliyet = 8 için {S5} {A5,B7} {C7,B7} {B12,D8,E9 ,B7} {D8,E9 ,B7} (maliyeti >8 olduğundan B düşer ) {F8,E9 ,B7}

More Related