

Such as this one for the problem shown in Fig. Read in files containing problem descriptions Your project: Use A* search to solve problems in coloredġ. Uniquely what is being moved to get from one state to the next. This domain, you need to give the blocks unique identities, so that you can say Hint: To describe transitions using the mechanical arm in However, in colored blocks world this might In a minimal number of moves through intermediate states. Transition the Start State to the Goal State Thus either blue (“B”) block in the Start State could play the role of eitherīlue block in the Goal State, just to give an Than one block with the same identity! This is shown as having multiple blocks of the same colors, in Fig. Traditional blocks world: There can be more 1 were reversed.īlocks world,” and it makes the following slight complication to the To make things easy, let’s say it would stillīe considered a valid Goal State if the two stacks Positions are really relative, and a solution is valid even if the first stackĮnds up being in a different place on the table. 1 just to be perverse, let’s say “Yes,” meaning that the block Traditionally, only two-dimensional problems are given, like the oneġ” is really in the same place in the Start State and Goal State

All blocks are the same square shape and, Table is assumed to be infinite in size, allowing any number of stacks in the Start State,

Legalities in the domain: It is not legal to move blocks out from under other blocks, or to insert For example, a legal move from the Start State Where the block ID is one of those pictured in the problem,Īnd the positions are either “On Table” or “On “ some other block. Next can be described in the following rather concise way to the magical, The blocks given in each state are of course always the same, as shownįor simplicity, assume that all moves from one state to the Minimal number of such intermediate states.

An “optimal” solution to a blocks world problem takes you through the Go through a sequence of other states, trying to convert the Start State In making progress on the problem, you will Each block startsĪnd ends either on the table or else exactly on top of another block. Which can lift up the blocks and move them, one at a time. There is a single, magical, mechanical arm Same blocks on a table, one called the Start State and the other the Goal State! Assume you are actually given the blocks inĪnd what you need to do is move them into the Goal State. The problems are always shown with two arrangements of the Using a single mechanical arm, as pictured in Fig. Of stacked blocks on a table, which must be rearranged into some other stacks, In blocks world, you are presented with a set The “ordinary” version of it, like that used in Ch.11. We’ll get back to talking about it for that One in AI, often used as a model domain for planning. You to gain expertise in using intelligent search in a domain well suited to it.Īn A* search for a variation of the domain called “blocks world,” so that youĬan find guaranteed optimal solutions, and also so that you can find suboptimalĭomain: The basic domain “blocks world” is a famous Goal: The goal of this lab assignment is for
