Subject

    Computer Science

    Topic

    Artificial Intelligence

    Using uniform-cost search on weighted edges S-A-2,S-B-6,A-C-2,B-C-1,C-G-4, what is the least cost from S to G?

    a)
    9
    b)
    7
    c)
    11
    d)
    8

    Explanation

    S-A-C-G costs 2 + 2 + 4 = 8 and S-B-C-G costs 6 + 1 + 4 = 11, so the least cost is 8.

    Find Tutors

    View all Tutors