CS347 SP2005 The Plank Puzzle: Phase IV - A* Graph Search

Revision 2/15/2005. Note: it is the students' responsibility to check the CS347 website for possible new revisions!

Assignment

The following plank puzzle description is cited from http://www.clickmazes.com/planks/ixplanks.htm:

In this fourth phase all you have to do is modify the CAsPlayer class (asplayer.cpp) in the provided Qt framework to attempt to solve the puzzle using A* Graph Search. Note that when the play function is first called it needs to generate a complete solution and return the first move; in subsequent calls it should return the corresponding subsequent moves without regenerating the solution! Also note that when the reset function is called, it should reset the play function so that the next call to play will regenerate the complete solution. The minimal requirement for the heuristic function is to somehow use knowledge about the current board configuration; note that a somewhat intelligent approach is required to earn all the heuristic points; further note that sophisticated heuristic functions will be rewarded with up to 20 bonus points. See http://web.umr.edu/~cs347a/sp2005/planks for framework instructions.

Note: this is an individual project; plagiarism of any type will result in a zero grade.

You need to submit only iddfgsplayer.cpp and, if you have modified it, iddfgsplayer.h on or before Saturday 2/19/2005. This is accomplished by following the instructions at http://web.umr.edu/~tauritzd/submission.html.

Grading

The maximum number of points you can get is 100, the minimal is 0. The following are the maximum number of points per component:

Multiple Submissions and Late Submissions

While it is hoped that all code will be submitted error-free and on time, this may not always be the case, so the following rules apply if code is not submitted error-free or on time: