[rules-users] Using Drools as a glorified Hashmap
djb
dbrownell83 at hotmail.com
Wed May 19 09:20:39 EDT 2010
Hi John, Wolfgang,
Thanks for your suggestions. Though I didn't use either of your suggestions
as described, it helped me work it out. I added tokens describing the
prescriptions, then as they are matched (using RETE), the tokens are
retracted. Then any tokens left over are invalid. It is probably as fast as
a HashMap. I don't think John's solution would have worked, because no
single rule can determine whether a prescription is invalid.
Regards,
Daniel
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Using-Drools-as-a-glorified-Hashmap-tp825851p829059.html
Sent from the Drools - User mailing list archive at Nabble.com.
More information about the rules-users
mailing list