[rules-users] Using planner to create an optimized changeset

ge0ffrey ge0ffrey.spam at gmail.com
Thu Mar 22 02:02:39 EDT 2012


If I understand your question correctly:

So basically your rules are now of the form:
rule a
  salience 4
when
  travel trough heathrow // score
then
  try not to travel to heathrow // search
end

Since Planner searches for you, it would be something like this:
rule a
when
  travel trough heathrow
then
  insert constraintOccurrence with level 4
end

You d need a multi level score definition implementation, which has been
discussed on this list before, but not yet in planner out of the box (but
its trivial to implement).

--
View this message in context: http://drools.46999.n3.nabble.com/rules-users-Using-planner-to-create-an-optimized-changeset-tp3846998p3847687.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list