|May 30, 2009, 05:39 AM||#1|
CLIPS Rule Based Expert Systems
Does anyone have any experience with writing expert systems in CLIPS? I have to do an assignment to solve the "Bulls and Cows" problem using CLIPS.
The task is for the program to guess a four digit random number read from the keyboard from the digits 1 to 9, without duplication.Finally print the score for the guess.
The score is computed as:
The computer wins if the guess is the same as the chosen number, and the program ends.
A score of one bull is accumulated for each digit in the guess that equals the corresponding digit in the randomly chosen initial number.
A score of one cow is accumulated for each digit in the guess that also appears in the randomly chosen number, but in the wrong position.
Anyone have some advice?
Last edited by sammy1011; May 30, 2009 at 06:08 AM. Reason: More info added
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Apple Acquires 18 'Axis-Based User Interface' Patents from Maya-Systems||MacRumors||MacRumors.com News Discussion||77||Sep 8, 2014 06:33 PM|
|View based vs Window based application||Vishwas Gagrani||iPhone/iPad Programming||1||Oct 14, 2012 05:25 PM|
|Idea: View-Based Notifications (Instead of Focus-Based)||faroZ06||OS X 10.8 Mountain Lion||0||Jul 28, 2012 12:32 PM|
All times are GMT -5. The time now is 10:32 AM.