home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.ai
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!lynx!nmsu.edu!opus!eiverson
- From: eiverson@nmsu.edu (Eric Iverson)
- Subject: Solving the 8 puzzle through hill climbing
- Message-ID: <EIVERSON.92Aug18010623@ithaka.nmsu.edu>
- Sender: usenet@nmsu.edu
- Organization: Computing Research Lab
- Distribution: comp
- Date: Tue, 18 Aug 1992 08:06:23 GMT
- Lines: 54
-
-
- Below is a brief series of steps to solve one configuration of the 8
- puzzle. I am looking for a fitness function such that each successive
- step would be judged to be more fit than its predecessor, thus enabling
- hill climbing. I realize that hill climbing is not the best way to
- solve the 8 puzzle, but that's what I want to do. (No, this isn't
- homework. It's a question in Rich's textbook that I just happen to be
- rereading.) Any suggestions would be appreciated.
-
- [1,2,3]
- [8,5,6]
- [4,7,*]
-
- [1,2,3]
- [8,5,*]
- [4,7,6]
-
- [1,2,3]
- [8,*,5]
- [4,7,6]
-
- [1,2,3]
- [*,8,5]
- [4,7,6]
-
- [1,2,3]
- [4,8,5]
- [*,7,6]
-
- [1,2,3]
- [4,8,5]
- [7,*,6]
-
- [1,2,3]
- [4,*,5]
- [7,8,6]
-
- [1,2,3]
- [4,5,*]
- [7,8,6]
-
- [1,2,3]
- [4,5,6]
- [7,8,*]
-
- --
- ------------------------------------------------------------------------
- Eric Iverson Internet: eiverson@nmsu.edu
- Computing Research Lab
- Box 30001/3CRL Life is something to do when
- New Mexico State University you can't get to sleep.
- Las Cruces, NM 88003-0001 -Fran Lebowitz
- VOICE: (505) 646-5711
- FAX: (505) 646-6218
-