Homework 7
Planning

powered by FreeFind

Modified: 

Assignment

The purpose of the assignment is to provide an introduction to planning.

  1. A sample blocks world problem is given below. Using the same action definitions, define a blocks world planning problem for the initial state of:
    a  
    b c

    and goal state is:

    a
    b
    c
  2. Define a blocks world planning problem for an impossible goal state of:
     
    a
    b
    c
    a
  3. Define the "have cake and eat cake too" operations, initial and goal states of the text, Figure 11.11, page 396. Note that there are no variables necessary, only the ground term cake.

Starting

  1. Download TextStrips.pro
  2. Copy and save the above test program for the blocks world as Test.pl
  3. In Prolog:
    1. Consult TextStrips.pro
    2. Consult Test.pl
  4. In Prolog enter:

    ?- test.

Turn in

  1. Cover page - Your name, date, and Homework 7 should be on the first page. Staple all pages together.
  2. Printouts - Print the action definitions and plans generated for Assignment 1-3.