<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
Hello all, <br>
<br>
I have been told that you could implement a helper class to simulate
"accumulate" command in drools. Could you please ealborate on how to do
this? Some code snippet to illustrate this would be very much
appreciated.<br>
<br>
My problem is as follows.I have two types of facts - Tree and Branch.
Each Branch object has a reference
to the Tree object it belongs to. I want to write a rule: The number
of branches in a tree must not exceed 100. I guess this
would be easy to write with "accumulate" command, which is not yet
available in 3.0.x.<br>
<br>
Thanks<br>
<br>
Jeevan<br>
<br>
</body>
</html>