Hello,
I'm trying to implement a method to restart the rule engine by using the
clear command. The idea is before running, clear everything (using
clear), add all the facts available, and run the engine with the command
(run-until-halt). Although, every time i make use of clear command, the
rule engine blocks, and even if i insert new rules or facts, no rule
becomes active, its seems that is blocked. The procedure that i follow
is with two functions, start and stop, like following:
start:
(clear)
(insert-rules-and-templates-using-batch)
(reset)
(run-until-halt)
(start-thread-for-inserting-shadow-facts)
stop:
(halt)
Can anyone tell me what i'm doing wrong?
Thanks in advance,
Joao
------------------------
unclassified
------------------------------------------------------------------------------------------------------------
Disclaimer:
If you are not the intended recipient of this email, please notify the sender and delete it.
Any unauthorized copying, disclosure or distribution of this email or its attachment(s) is forbidden.
Thales Nederland BV will not accept liability for any damage caused by this email or its attachment(s).
Thales Nederland BV is seated in Hengelo and is registered at the Chamber of Commerce under number 06061578.
------------------------------------------------------------------------------------------------------------
begin:vcard
fn;quoted-printable:Jo=C3=A3o Mour=C3=A3o
n;quoted-printable;quoted-printable:Mour=C3=A3o;Jo=C3=A3o
org:Thales;Above Water Systems
adr:;;;Hengelo;;;Netherlands
email;internet:[email protected]
title:THALES NETHERLANDS B.V.
tel;work:2640
note:-unclassified mail-
version:2.1
end:vcard