[rules-users] [planner] Questions about employee shift rostering example

Samuel Deballon sdeballon at csc.com
Tue Jan 19 09:43:31 EST 2010


Hi all, Hi Geoffrey,

I have implemented a first version of the solution with two types of move  :
status move and another tour move.

When i try to retrieved the scoreDetailList, the iterateObject is not clean.
It contains many null values. I don't know if it's normal but it has for
consequence that the method SolutionBusiness.getScoreDetailList() return a
null list.

        Iterator<ConstraintOccurrence> it = (Iterator<ConstraintOccurrence>)
            workingMemory.iterateObjects(new
ClassObjectFilter(ConstraintOccurrence.class));
        while (it.hasNext()) { //Doesn't in the loop because a value is null
         ..
        }

Maybe you have an idea.

Samuel
-- 
View this message in context: http://n3.nabble.com/Re-planner-Questions-about-employee-shift-rostering-example-tp121760p130189.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list