Unformatted text preview: (year 1997) (color white)) For a total of 2 facts in module MAIN. Note that the car is white by default. If you don't supply a default value for a slot, and then don't supply a value when a fact is asserted, the special value nil is used. Also note that any number of additional automobiles could also be simultaneously asserted onto the fact list using this template. Note also that we can specify the slots of an unordered fact in any order (hence the name.) Jess rearranges our inputs into a canonical order so that they're always the same. As you can see above, each fact is assigned an integer index (the fact-id ) when it is asserted. You can remove an individual fact from the working memory using the retract function. Jess> (retract 1) TRUE...
View Full Document
- Spring '10
- Object-Oriented Programming, Automobile, Jess, Lebaron, unordered facts