JBoss.orgCommunity Documentation

Part III. Drools Runtime and Language

Drools is a powerful Hybrid Reasoning System.

Table of Contents

5. Hybrid Reasoning
5.1. Artificial Intelligence
5.1.1. A Little History
5.1.2. Knowledge Representation and Reasoning
5.1.3. Rule Engines and Production Rule Systems (PRS)
5.1.4. Hybrid Reasoning Systems (HRS)
5.1.5. Expert Systems
5.1.6. Recommended Reading
5.2. Rete Algorithm
5.3. ReteOO Algorithm
5.4. PHREAK Algorithm
6. User Guide
6.1. The Basics
6.1.1. Stateless Knowledge Session
6.1.2. Stateful Knowledge Session
6.1.3. Methods versus Rules
6.1.4. Cross Products
6.2. Execution Control
6.2.1. Agenda
6.2.2. Rule Matches and Conflict Sets.
6.3. Inference
6.3.1. Bus Pass Example
6.4. Truth Maintenance with Logical Objects
6.4.1. Overview
6.5. Decision Tables in Spreadsheets
6.5.1. When to Use Decision Tables
6.5.2. Overview
6.5.3. How Decision Tables Work
6.5.4. Spreadsheet Syntax
6.5.5. Creating and integrating Spreadsheet based Decision Tables
6.5.6. Managing Business Rules in Decision Tables
6.5.7. Rule Templates
6.6. Logging
7. Rule Language Reference
7.1. Overview
7.1.1. A rule file
7.1.2. What makes a rule
7.2. Keywords
7.3. Comments
7.3.1. Single line comment
7.3.2. Multi-line comment
7.4. Error Messages
7.4.1. Message format
7.4.2. Error Messages Description
7.4.3. Other Messages
7.5. Package
7.5.1. import
7.5.2. global
7.6. Function
7.7. Type Declaration
7.7.1. Declaring New Types
7.7.2. Declaring Metadata
7.7.3. Declaring Metadata for Existing Types
7.7.4. Parametrized constructors for declared types
7.7.5. Non Typesafe Classes
7.7.6. Accessing Declared Types from the Application Code
7.7.7. Type Declaration 'extends'
7.7.8. Traits
7.8. Rule
7.8.1. Rule Attributes
7.8.2. Timers and Calendars
7.8.3. Left Hand Side (when) syntax
7.8.4. The Right Hand Side (then)
7.8.5. Conditional named consequences
7.8.6. A Note on Auto-boxing and Primitive Types
7.9. Query
7.10. Domain Specific Languages
7.10.1. When to Use a DSL
7.10.2. DSL Basics
7.10.3. Adding Constraints to Facts
7.10.4. Developing a DSL
7.10.5. DSL and DSLR Reference
8. Complex Event Processing
8.1. Complex Event Processing
8.2. Drools Fusion
8.3. Event Semantics
8.4. Event Processing Modes
8.4.1. Cloud Mode
8.4.2. Stream Mode
8.5. Session Clock
8.5.1. Available Clock Implementations
8.6. Sliding Windows
8.6.1. Sliding Time Windows
8.6.2. Sliding Length Windows
8.7. Streams Support
8.7.1. Declaring and Using Entry Points
8.8. Memory Management for Events
8.8.1. Explicit expiration offset
8.8.2. Inferred expiration offset
8.9. Temporal Reasoning
8.9.1. Temporal Operators