Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old May 30, 2009, 05:39 AM   #1
sammy1011
macrumors newbie
 
Join Date: May 2009
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?

Thanks

Last edited by sammy1011; May 30, 2009 at 06:08 AM. Reason: More info added
sammy1011 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Combining multiple clips into one in FCE4 Mr_Brightside_@ Digital Video 4 Mar 28, 2011 07:40 PM
Looking for Double Clip Board App. cultivate Mac Applications and Mac App Store 0 Nov 3, 2010 03:12 PM
CLIPS Rule Based Expert Systems abijnk Mac Programming 1 Apr 29, 2009 05:20 PM
Loading a view based on system date? kevy089 iPhone/iPad Programming 4 Apr 6, 2009 02:28 PM


All times are GMT -5. The time now is 08:30 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC