0

I am looking for a rule based system (forward chaining) like CLIPS than can do temporal reasoning, i.e. phrases of the form:

If condition active for more than 10s... If condition1 becomes active less than 10s after condition2 becomes active... If more than n events during 10s... If first condition1 then condition2 and then condition3 not more than 2 s apart...

This is for an alarm system, I would prefer a c or python library or something that can be easily interfaced to python.

I've found this discussion, but it did not help much: Rules engine for spatial and temporal reasoning?

Community
  • 1
  • 1
Dan
  • 161
  • 1
  • 4

1 Answers1

0

It's not been modified for several years, but there is a Python library for CLIPS on sourceforge called PyCLIPS. They have a rather complete manual too.

Sam Mussmann
  • 5,883
  • 2
  • 29
  • 43
  • Do you know if there is a way to do temporal reasoning with CLIPS? – Dan Nov 14 '12 at 04:36
  • It looks possible. There's a course at a college in France that has students do it as [an exercise](http://www-prima.imag.fr/jlc/Courses/2011/ENSI2.SIRR/ENSI2.SIRR.EX3-Allen-EN.pdf). – Sam Mussmann Nov 14 '12 at 13:25
  • Ok, then the answer will be left as an exercise for the reader. Thanks – Dan Nov 15 '12 at 18:22