[rules-users] how to analyse planner TRACE logging

Michiel Vermandel mvermand at yahoo.com
Tue Jan 22 10:37:13 EST 2013


Hi,

I'm trying to find an issue that I expect to be a score trap.
As Geoffrey pointed out I enabled TRACE logging, which produces a rather big file.

Is there documentation on how to interpret the content? 

There are some things that I do not understand:

1) I see sometimes this type of logging:  
   TRACE main org.drools.planner.core.localsearch.decider.DefaultDecider -         Move index (249), score (-484hard/0soft), accepted (true) for move ({T= Inspect B747-AX.I#0 [P1] Kristof IV} <=> {T= Inspect A311-DX.I#1 [P1] Gerald IV}).

   What does the <=> mean in this logging? What does the move actually do in this case?


2) TRACE main org.drools.planner.core.localsearch.decider.DefaultDecider -         Move index (273), score (-5562hard/0soft), accepted (true) for move ({T= Inspect B747-AX.I#0 [P3] Kristof IV} => (P9) ).
   This line indicates that the move is accepted. Is a move accepted before validating the rules or after? And in the same way does the score (-5562hard/0soft) indicate the score before or after the validation of the rules?

 
Can someone give me some directions, please?

Thanks,

Michiel

-----------------
http://www.codessentials.com - Your essential software, for free!
Follow us at http://twitter.com/#!/Codessentials
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130122/9497da06/attachment.html 


More information about the rules-users mailing list