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 12. Writing the PC Repair Assistant

In this chapter you’ll...

  • Collect knowledge using flowcharts
  • Translate flowcharts into rules
  • Enhance the ask module from part 3

In this chapter, you’ll write a rule-based system with a command-line interface, just like the Tax Forms Advisor. You’ll obtain the necessary knowledge by interviewing computer repair technicians, develop the rules, and test the system. This application reuses some techniques you developed for the Tax Forms Advisor. For instance, you’ll modify and then reuse the ask module to ask the user for input. You’ll again use modules to represent processing phases: The main knowledge base is in the MAIN module, and we’ll introduce a new control module named trigger.

Of course, this ...

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