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-glo...
Sent from the Drools - User mailing list archive at
Nabble.com.