Drools - steps to use it in a typical program
- name
- group
- description
- priority
Rules
- create working memory
- asset objects (insert into working memory)
- fire all rules
- retrieve objects
- name
- group
- description
- priority
Rules
- Production rules (inference rules) - if x, then y
- Reaction Riles - wait for a set of events
- Stateful
- iterate through antecedants
- each time an antecedant is matched, add knowledge of consequence
- do this until goal is reached
No comments:
Post a Comment