HelicalCynic
01-05-2004, 07:29 PM
Situation: Have sets of products and options, both of which have ~20 pricing rules that need to evaluated to find the final price of an item. I was thinking the easiest way to do this would be to have the rules set up as predicates for a prolog interpreter, but this needs to be done on the fly (and I'm stuck with VB.Net at work, full visual studio at home).
So, is that the best way to evaluate multiple rules/conditionals without hard-coding them?
Thanks in advance,
Bryan
So, is that the best way to evaluate multiple rules/conditionals without hard-coding them?
Thanks in advance,
Bryan