Consider a 2-D 25-room vacuum-cleaner world as follows:
Over a lifetime of 10 time steps. Higher performance points are better.
(1,1) |
(1,2) |
(1,3) |
(1,4) |
(1,5) |
(2,1) |
(2,2) |
… |
|
|
(3,1) |
… |
|
|
|
(4,1) |
|
|
|
|
(5,1) |
|
|
|
(5,5) |
In this programming assignment, you should implement the following 4 algorithms to solve the 2-D 25-room vacuum-cleaner world problem:
Follow the Tree-Search and Graph-Search pseudocode in the lecture slides (copied below), but removing the Goal-Test. You need to search the whole tree and return the best solution found. Breaking ties of search nodes randomly.
function Tree-Search(problem, fringe) returns a solution, or failure fringe = Insert(Make-Node(Initial-State[problem]), fringe) loop do
if fringe is empty then return failure
node = Remove-Front(fringe)
if Goal-Test(problem,State(node)) then return node fringe = InsertAll(Expand(node, problem), fringe)
end
function Graph-Search(problem, fringe) returns a solution, or failure closed = an empty set
fringe = Insert(Make-Node(Initial-State[problem]), fringe) loop do
if fringe is empty then return failure node = Remove-Front(fringe)
if Goal-Test(problem,State[node]) then return node if State[node] is not in closed then
add State[node] to closed
fringe = InsertAll(Expand(node, problem), fringe)
end
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme