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?

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top