<br> Geoffrey<br><br> The use of queries in rules LHS is part of the work Mark wants to do to support hybrid forward-backward-chaining rules. It will come in time.<br> Regarding the multiple pattern support for accumulate, I believe there already is an open ticket, but feel free to open one if there isn't.
<br><br> Thanks,<br> Edson<br><br><div><span class="gmail_quote">2007/7/29, Geoffrey De Smet <<a href="mailto:ge0ffrey.spam@gmail.com">ge0ffrey.spam@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I wonder if there are any plans to allow query's to be reused in<br>accumulate functions? Something like<br><br> query "multipleQueensHorizontal"<br> Queen($id : id, $y : y);<br> Queen(id > $id, y == $y);
<br> end<br><br> rule "x"<br> when<br> Integer() from accumulate(<br> count(query "multipleQueensHorizontal") // <==<br> );<br> then<br> ...<br> end
<br><br>If not, mind if I make a (long term) issue if you think it's a good idea<br>and possible to implement?<br>Is there an issue for Multiple Pattern Accumulate and if not, mind if I<br>create one?<br><br>Thanks as always :)
<br><br>--<br>With kind regards,<br>Geoffrey De Smet<br><br>_______________________________________________<br>rules-dev mailing list<br><a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-dev">
https://lists.jboss.org/mailman/listinfo/rules-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br> Edson Tirelli<br> Software Engineer - JBoss Rules Core Developer<br> Office: +55 11 3529-6000<br> Mobile: +55 11 9287-5646
<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>