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-...
Sent from the Drools: User forum mailing list archive at
Nabble.com.