How to use Rete Algorithm
Asked Answered
S

3

6

How can i use Rete Algorithm in java?

Do i need to write my own algorithm implementation?

Or is there already implemented library available?

Society answered 18/9, 2012 at 10:5 Comment(2)
Can you give a link to rete algorithm?Suasion
csl.sri.com/users/mwfong/Technical/…Society
L
5

So this is a pretty old question, but ranks highly if you're googling for Rete Implementations, so I'll leave some info here.

The wikipedia entry is pretty good and here is a paper about Rete/UL which is according to Doorenbos more efficient than ReteII Doorenbos, 1995.

Some Implementations include:

Its a really useful algorithm if you need to make decisions based on patterns of facts, and as a bonus, you'll have to learn some cool things about graphs and pattern matching.

Hope this is helpful!

Lakin answered 8/10, 2014 at 2:48 Comment(0)
C
4

A simple Google search for "Rete Algorithm Java" showed up this result (among others): http://java-source.net/open-source/rule-engines.

The first entry reads: Drools is an Object-Oriented Rule Engine for Java. Drools is an augmented implementation of Forgy's Rete algorithm tailored for the Java language.

So the answer seems to be: Yes, there already is a library that implements the algorithm you're looking for.

Clothesbasket answered 18/9, 2012 at 10:13 Comment(1)
do we have the access to the original paper on Rete Algorithm. Somewhere I read that the original paper describes about the implementation in C. Is it possible to access the paper?Society
T
0

See the References section on the Wikipedia entry on the Rete Algorithm, it contains code snippets in both Pascal and LISP (?) style languages - nothing C-like, though.

Cheers,

Transcendentalistic answered 3/10, 2012 at 10:57 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.