[rules-users] [Drools Planner 5.4.x] How to access ConstraintOccurrences in a BestSolutionRecaller
ge0ffrey
ge0ffrey.spam at gmail.com
Tue May 22 20:53:01 EDT 2012
((DroolsScoreDirector) stepScope.getScoreDirector()).getWorkingMemory()
michael.zeising wrote
>
> Hi there,
>
> I'm writing my own /BestSolutionRecaller/ for collecting every solution
> that is evaluated. I'm overriding
>
>
>
> so I get the new solution by calling
>
>
>
> Now, I'd like to find the /ConstraintOccurrence/ objects that were created
> when evaluating the solution. In 5.3.x I could call
>
>
>
> and the iterator contained the /ConstraintOccurrence/ objects besides
> others. Is there a way to access these occurences in 5.4.x?
>
> Thanks in advance!
>
--
View this message in context: http://drools.46999.n3.nabble.com/Drools-Planner-5-4-x-How-to-access-ConstraintOccurrences-in-a-BestSolutionRecaller-tp4006686p4007772.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list