Hey, I bought the 'Jess In Action' book over the weekend and am trying to come up to speed with Jess.
After reading the first ~100 pages, I decided to attempt to use Jess to solve an old puzzle of mine. PROBLEM: Define a set of coins amounting to exactly $1.00 using exactly 50 coins. APPROACH: I thought I'd assert he following facts, 2 Half dollar facts 4 Quarter facts 10 Dime facts 20 Nickel facts 100 Penny facts Then define a rule to print the facts such that the number of facts (coins) is 50 and the value of the 50 facts equals 100 ($1.00). Unfortunately, I quickly ran up against the "facts must be unique" requirement. I'm continuing to work on a solution, but thought I'd ask for advice in parallel. Thanks in advance. -Mitch -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] --------------------------------------------------------------------
