Op 22-01-13 16:37, Michiel Vermandel
schreef:
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?
See logging chapter in manual and this image
https://github.com/droolsjbpm/drools-planner/blob/master/drools-planner-docs/src/main/docbook/en-US/images/Chapter-Optimization_algorithms/scopeOverview.png
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?
<=> means it's a swap move
=> means it's a change move
Looks like it swaps all variable values of B747-AX and A311-DX
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?
Unrelated: accepted means it's not tabu.
Of all the accepted moves, the move with the highest score wins and
becomes the step.
And in the same way
does the score (-5562hard/0soft) indicate the
score before or after the validation of the rules?
The score is the validation of the rules, after the move has been
applied.
Can someone give me some directions, please?
Thanks,
Michiel
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users
|
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users