I would like to use drools in following scenario. Say, I have a goal of producing 200 vehicles (each vehicle also has a random priority). My factory can only produce 50 vehicles a day.. Thus, with this constraint.. my 200 vehicles will get produced over next 4 days. I would like to notify people as to when will each vehicle get produced.
First (topmost priority) 50 vehicles will get produced tomorrow. Next 50 day after .. and so on. So.. in drools, I am planning to insert the entire collection of 200 vehicles into ksession. Also, planning to insert the constraint of the factory capacity of 50 and expect the date of production to be calculated. I think I should use accumulate function for this.. but am not getting a clear picture as to how to do this. Can someone help? -- View this message in context: http://drools.46999.n3.nabble.com/incremental-modification-of-dataset-based-on-accumulate-tp4022420.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users