One way that might be implemented is via a single dedicated fact type (call it Horloge) with a single field (temps). Then you could write all sorts of relations with the times in your facts. In order to work in the context of rete, Horloge&#39;s temps would have to be updated according to the progress of time - but how big do you want your <a href="http://en.wikipedia.org/wiki/Chronon">chronons</a> to be? Right, this could be made configurable. But how will this scale? Data structures keeping a large number of integers in partially sorted order are <a href="http://www.cs.cornell.edu/Courses/cs312/2007sp/lectures/lec25.html">available</a>, but Rete works differently.<br>
<br>Assuming that all your time-dependent facts implement a specific interface, and given Drools&#39; WM event listener, it&#39;s easy to implement a solution for timeouts that does not require periodic polling.<br><br>-W<br>
<br><br><div class="gmail_quote">On 9 May 2011 20:37, kkelleyjr <span dir="ltr">&lt;<a href="mailto:karl.kelley.jr@gmail.com">karl.kelley.jr@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
So, from all of the reading and what you have told me, this is no way<br>
currently to do evaluations of time with the session clock on the LHS...<br>
<br>
That statement being true: Is there any desire or plan to do evaluations of<br>
time with the session clock on the LHS (aka the condition)?<br>
<br>
I think it would be useful, because all processing to gather facts could be<br>
based on cron rules... then there is no need to write cron jobs for those<br>
processes...<br>
<br>
Is that a bad idea?<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/rules-users-Firing-the-rule-at-the-basis-of-time-tp2889494p2919950.html" target="_blank">http://drools.46999.n3.nabble.com/rules-users-Firing-the-rule-at-the-basis-of-time-tp2889494p2919950.html</a><br>

</font><div><div></div><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>