Wouldn't it be easier to have a rule with a single fact in the left-hand
side, removed by the body, and just periodically add such a fact?
Mrinal Khanvilkar schreef:
Hi,
Is there a way to generate a rule and firing it periodically?
for e.g.
(defrule rule1
fire after every time t
=>
someactions)
the predicates in this case is only going to be the time interval for
which the rule is being fired.
thanks,
Mrinal
begin:vcard
fn:Peter Van Weert
n:Van Weert;Peter
org:K.U.Leuven;Department of Computer Science
adr:room 01.05;;Celestijnenlaan 200A;Heverlee;;3001;Belgium
email;internet:[EMAIL PROTECTED]
title:DTAI (Declarative Languages and Artificial Intelligence)
tel;work:+32 16 327665
url:http://www.cs.kuleuven.be/~petervw/
version:2.1
end:vcard