Chapter 6. Representing facts in Jess
In this chapter you’ll...
- Explore Jess’s working memory
- Learn about the different kinds of facts, and when to use them
- Find out how to store Java objects in working memory
Now that we’ve looked at the basic syntax of the Jess language, it’s time to begin our study of Jess’s rule-based programming features. In this chapter, we’ll look at how to create and manage the data that rules can act on—the working memory we first discussed in chapter 1. The working memory, sometimes called the fact base, contains all the pieces of information Jess is working with. The working memory can hold both the premises and the conclusions of your rules.
Jess stores the contents of working memory using a set of customized indices ...
Get Jess in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.