Geoffrey
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.
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.
Thanks,
Edson
2007/7/29, Geoffrey De Smet <ge0ffrey.spam(a)gmail.com>:
I wonder if there are any plans to allow query's to be reused in
accumulate functions? Something like
query "multipleQueensHorizontal"
Queen($id : id, $y : y);
Queen(id > $id, y == $y);
end
rule "x"
when
Integer() from accumulate(
count(query "multipleQueensHorizontal") // <==
);
then
...
end
If not, mind if I make a (long term) issue if you think it's a good idea
and possible to implement?
Is there an issue for Multiple Pattern Accumulate and if not, mind if I
create one?
Thanks as always :)
--
With kind regards,
Geoffrey De Smet
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3529-6000
Mobile: +55 11 9287-5646
JBoss, a division of Red Hat @
www.jboss.com