O'Reilly logo

Jess in Action: Rule-Based Systems in Java by Ernest Friedman-Hill

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required