944,117 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 4523
  • C RSS
Jan 2nd, 2007
-1

8 puzzles

Expand Post »
Can anyone show me how to solve the 8 puzzles either using the heuristic search thank you. if u can , u may attach the sourcecode too. thank u :cheesy:
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
happy8899 is offline Offline
24 posts
since Aug 2006
Jan 2nd, 2007
0

Re: 8 puzzles

I suppose it's futile to suggest that you've read this
http://www.daniweb.com/techtalkforum...cement8-2.html
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005
Jan 2nd, 2007
0

Re: 8 puzzles

Watch this animation of the 15 puzzle solve itself. You will notice there is an exact pattern to solve it that works every time.

http://www.javaonthebrain.com/java/puzz15/

If you're still stuck for ideas after watching that (you shouldn't be)

read these:-

http://www.gameboomers.com/wtcheats/pcSs/safecrac.htm

http://www.mathematische-basteleien.de/15puzzle.htm

http://www.cs.princeton.edu/courses/...s/8puzzle.html
Featured Poster
Reputation Points: 1536
Solved Threads: 431
Posting Expert
iamthwee is offline Offline
5,865 posts
since Aug 2005
Oct 28th, 2008
0

Re: 8 puzzles

Why not refer to http://8-puzzle.blogspot.com/

Implementation include various concepts in search techniques.

Sample program available for download and test at: AI 8-puzzle (8 Puzzle) solver

Quote from site:
The methods explored and implemented are: Blind Breath-First Search, h=Sum(step tiles from origin), h=Num. of Title not in place, Manhattan Distance Heuristic and A* Searching Algo (A Star Algorithm). Blind search is actually the worse algoritm in this scenario while the A* algorithm is the best. You may test it using this system by observing the time unit that the computer use, the exposed solutions and the solution steps obtained by different algo.

Hope this help
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ahyeek is offline Offline
9 posts
since Aug 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: CIN crashes LabVIEW - Worked in tests
Next Thread in C Forum Timeline: Pointers and functions, am I going this correctly?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC