> softConstraintsBroken" : calculate the total length of the tour, right ?
Yes, but they use the occurrences injected by "distanceToPreviousAppearance"
and "distanceFromLastVisitToDomicile".

"distanceToPreviousAppearance" adds the distance from a Visit to the
previous visit or Domicile (= starting point).
"distanceFromLastVisitToDomicile" add the distance from the last visit back
to the Domicile.

Look for "insertLogical" in the drools expert manual



--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-Planner-understand-the-drl-content-of-the-TSP-example-tp4020247p4020303.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to