prolog program #12

Cancellato Pubblicato Aug 19, 2006 Pagato alla consegna
Cancellato Pagato alla consegna

NEW NOTE: The only knowledge base this application needs to handle is the famous missionaries and cannibals so the scope is smaller.

Develop an expert system shell in Prolog that can be fed with different knowledge bases, and give an answer (i.e. recommendations) based on the knowledge base fed. You should state to the user how to represent his or her problem (i.e. how to express his or her knowledge base in the form of production rules that your system understands). As an example for the user, create a sample knowledge base representing the famous problem of a farmer having a goat, a wolf and a cabbage. The farmer wants to cross the river but his boat is small. The boat has space only for the farmer with only one of the items: cabbage, wolf or goat. The farmer cannot leave the wolf alone with the goat, or the goat alone with the cabbage. Your program should list the possible steps the farmer may take to move his items across river safely.

Your system will consist mainly of two files, the first is the expert system shell, the second contains the knowledge base - production rules -. The first file when executed will ask for the name of the file containing the knowledge base. When the user enters the name of this file, the shell will seek it from the disk, parse the rules to make sure they are written properly, then start dealing with them.

You must use such techniques as: minimax, tree pruning, backward chaining and forward chaining, dealing with uncertainty, etc. You should submit a working system, and include a description of it. Explain the principles and theories you applied and show where in the coding you have programmed them.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Please use ANSI PROLOG and if possible WSI-PROLOG(free).

PHP

Rif. progetto: #3736685

Info sul progetto

Progetto a distanza Attivo Aug 31, 2006