Big Chemical Encyclopedia

Chemical substances, components, reactions, process design ...

Articles Figures Tables About

Rule Engines — JBoss Rules

JBoss Rules is more correctly classified as a production rule system, which works with a memory of current states and details of a problem, a rule base, and an interpreter (i.e., inference engine), which applies the rules to each fact entering the memory. The system implements both Rete and leaps pattern-matching algorithms. Rules are stored in the production memory, and the facts that the inference engine matches against are stored in the working memory. A typical syntax is as follows  [Pg.48]

Molecule(nOxygen) Molecule(nOxygen Molecule(nHydrogen) + 2) [Pg.49]

The strength of a ternary acid is estimated from the difference between the number of oxygen atoms and hydrogen atoms. Facts are asserted by a simple assignment statement, similar to object-oriented programming languages  [Pg.49]

Molecule aspirin = new Molecule( Acetylsalicylic acid ) aspirin.setOxygen(4) aspirin.setHydrogen(8)  [Pg.49]


See other pages where Rule Engines — JBoss Rules is mentioned: [Pg.48]    [Pg.48]    [Pg.48]   


SEARCH



JBoss rules

© 2024 chempedia.info