[rules-users] Finding a sequence within the data

Yoni Mazar y.mazar at gmail.com
Thu Jul 31 10:00:53 EDT 2008


One more question. 
http://blog.athico.com/2008/07/drools-50-m1-new-and-noteworthy.html Here  
there is description of CEP. Do you think CEP can help us analyzing this
data? 
Thanks, Yoni

Thanks for the help. We will use your ideas


   Hehe, never underestimate creativity... :) nice solution.

   []s
   Edson

2008/7/31 Greg Barton <greg_barton at yahoo.com>

> Never underestimate the value of data structures.
> Give LabResult a pointer to the next (or previous)
> LabResult.  Then the rule becomes more comprehensible:
>
> $l1 : LabResult( value < 1, eval( inLastMonth(date) )
> $l2 : LabResult( value < 1, eval( inLastMonth(date),
> next == $l1 )
> $l3 : LabResult( value < 1, eval( inLastMonth(date),
> next == $l2 )
>
> It's also more easily extensible to longer sequences.
>
> GreG
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
Edson Tirelli
JBoss Drools Core Development
JBoss, a division of Red Hat @ www.jboss.com

_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

-- 
View this message in context: http://www.nabble.com/Finding-a-sequence-within-the-data-tp18738051p18755241.html
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list