[rules-users] understanding Rete enhancements of Drools

raffi christian.koehler at s2008.tu-chemnitz.de
Mon Nov 12 08:35:21 EST 2012


Hi community,

I have two questions abot the improvements of the Rete algorithm. First one
is about the HashMap which is filled if there is a new AlphaNodeadded to a
ObjectTypeNode. In which java class is this data structure?

Second question is a little bit of generic type. I read the documentation of
5.4.0 about the enhancement of indexing the BetaNodes (JoinNodes). But for
me its not that clear how this works. Is there another HashMap with for
example a key value /cheddar/ if I have a join between a /person/- and
/cheese/-fact type like in the examples? Or does it only check the field of
the join (String, Integer and so on)?
Andf if an object comes from the right side it could move into the Tuple of
the left side if this check was valid?

Thank you for reply.



--
View this message in context: http://drools.46999.n3.nabble.com/understanding-Rete-enhancements-of-Drools-tp4020802.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list