Please enable JavaScript.
Coggle requires JavaScript to display documents.
CS 161
Homework 3 (To do (Next-states (Steps (Don't worry about…
CS 161
Homework 3
To do
-
-
-
Helper
get-square :check:
Argument: state row column (S r c)
Returns: Value at that square, value of wall otherwise
set-square :red_cross:
Argument: state row column value (S r c v)
Returns: Change the square at row r and column c to have the value v
-
-
-
-
-
-
Goal
Have the keeper
push all boxes to a goal position
return to any of the remaining goal
position in the fewest number of moves.
-
State
Square
-
-
-
-
-
-
- The keeper on top of a goal
-
-
-
-
-