7. When to use
•Domain expertise available
•Dynamic changes to rules separate from SDLC
•One point of truth for “the business rule”
8. Pattern Matching
•Pattern matching is central
•... but a quality “model” is needed
•results in looser coupling
•... which means longer term change tolerance
20. Clips integration
•Shell or command line style
•Detailed C API and sample code
•clips.h
•Embed it in your native apps
21. Drools
•Targets JVM (also a .Net port) at present
•Originated from codehaus community (now jboss)
•Has developer + analyst tools
22. Drools example
rule engine-sluggish
when
Engine(sluggish = true)
not Repair()
then
insert(new Repair(“clean fuel line”))
end
rule engine-misfires:
when
Engine(misfires=true)
not Repair()
then
insert(new Repair(“Point gap adjustment”))
end