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.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to