# What is the time and space complexity of Rete algorithm

I am working on pattern matching algorithm. Its working and using very less memory. For the comparison, I have to compare it with the Rete Algorithm. I have checked it in the thesis of the author, some of his paper and he has provided some complexities which are not based on then, nor does its efficiency is provided in the space complexity.

My algorithm despite large inputs worst case is $O(n^2)$. Can someone point me to a good reference where I can find its complexity? I have been searching for a while now, and I did not even get the pseudo code. Things not to consider in order to save your time is algorithms, software, expert systems based on Rete algorithm e.g. Jess etc. reference link for algorithm thesis pdf Click to download

citation of the paper "Forgy, C.L., 1982. Rete: A fast algorithm for the many pattern/many object pattern match problem. Artificial intelligence, 19(1), pp.17-37."

• You need to give a proper reference for this "Rete" algorithm. Have you tried analysing it yourself? Have you compared the efficacy of both algorithms? – Raphael Nov 13 '17 at 6:50
• i want the original source, it is available in JESS as a code but i cannot use it being an external source – Shahensha Khan Nov 13 '17 at 7:29
• That's not an issue here because we don't like source code, anyway. (If it's a research paper, chances are there is no implementation at all, or the one they have was never published. It sucks, but still.) – Raphael Nov 13 '17 at 10:37