[rules-users] [Drools Planner] understand the drl content of the TSP example

ge0ffrey ge0ffrey.spam at gmail.com
Tue Oct 16 08:42:26 EDT 2012


> 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.


More information about the rules-users mailing list