Jump to content











Photo
- - - - -

zebra puzzle solution with Java as programming language


  • Please log in to reply
No replies to this topic

#1 Sankar Banerjee

Sankar Banerjee
  • Members
  • 3 posts
  •  
    India

Posted 24 September 2011 - 08:59 AM

Posted Image

File Name: zebra puzzle solution with Java as programming language
File Submitter: Sankar Banerjee
File Submitted: 24 Sep 2011
File Updated: 31 Aug 2013
File Category: Miscellaneous

The project solves the Famous zebra puzzle.
============================================================================================
Kindly note that there is one thing which will surely irritate anyone that , when there is no solution, the program remains mute. Whereas a message should appear saying "No Solution available". Apologies for this and anybody who downloads the project may do this with a little code change.
==========================================================================================================

The "rules.xml" and "rules.xsd" files are intentionally placed in the classpath so that the user do not have to copy those files in some folder before running the project.

The attached jpeg makes everything clear. Entry.java has the main method. Right click and run as java application.

Windows XP professional SP 3, JDK 1.5 and Eclipse Helios has been used to develop the code.

Click here to download this file




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users