문제

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