Questions tagged [rete]

The rete algorithm is frequently used in rules engines / systems, which provides an efficient pattern matching algorithm to determine which rules should fire based on a knowledge base of facts.

The rete algorithm is frequently used in rules engines / systems, which provides an efficient pattern matching algorithm to determine which rules should fire based on a knowledge base of facts.

The original rete algorithm was developed by Dr Charles L Forgy between 1974 and 1979 and has been released to the public domain.

Rete is used by many commercial rules engines including:

38 questions
0
votes
1 answer

JESS - .CLP file not executing properly with the ActionListener

I am trying to execute a JESS .clp file on a button click using Rete.batch() in Java. The .clp im trying to execute is similar to the Computer repair assistant example in Jess examples- with the GUI. When im executing the file inside the…
DeeCode
  • 83
  • 1
  • 3
0
votes
0 answers

Drools engine hangs during multiple statefulsession Execution

For every request, I create a fresh knowledge session, execute the rules and eventually dispose it. This works fine with few requests in Development environment. But in production environment, with multiple requests the Drools engine hangs with…
Arun Selva
  • 117
  • 3
  • 15
0
votes
0 answers

how to implement rete algorithm in php?

My final project is to implement rete algorithm in an expert system I understand that rete algorithm is using working memory, I'm very confused how to implement it in the coding I don't understand the term working memory in php Is is the same as…
Kevin
  • 63
  • 4
  • 11
0
votes
2 answers

Stop rete activations

I have a rule that retracts thousands of facts when a certain condition is met. This rule sits in a module that contains two other rules that use "not" statements. My questions are: Does the rete network get recalculated every time the first rule…
0
votes
1 answer

Drools Decision Table condition checking algorithm

I have a question about how conditions are evaluated for Drools Decision Tables. I had thought the conditions were evaluated left to right and if the left most column it was checking for a given rule was false, it would not check the remaining…
0
votes
0 answers

drools eclipse plugin: RETE view for OR-operator cannot be shown

I'm trying to build a benchmark for drools business rule system, for that I have to take into account the specialties of the RETE algorithm. The RETE view in Drools eclispe plugin offers the opportunity to display the corresponding RETE net…
MattRossmann
  • 85
  • 2
  • 7
0
votes
1 answer

what happens in rete algorithm when there are multiple "then"

Using this as an example, let's say that there is a condition which says- if the flyer's status is silver, then allow free upgrade to business class **and** give a free drink how should rete network be constructed? At the bottom of the network,…
user375868
  • 1,288
  • 4
  • 21
  • 45
0
votes
1 answer

Are there any implementations of a parallel version of the Rete algorithm?

I have done some research on the Rete algorithm and found several papers on making it parallel (both matching and rule firing) the earliest of which are from the mid '80s. However I can't find any information about any parallel implementation in any…
1 2
3