[rules-users] drools planner ConstraintOccurrence

Geoffrey De Smet ge0ffrey.spam at gmail.com
Fri Jun 22 16:08:27 EDT 2012


Most use case use IntConstraintOccurence because they have an int hard 
score and an int soft score, for example in the cloud balancing example, ...
The int is the weight.

Take a look at the examples cloudBalancing, nqueens, ... and the manual 
chapter about score calculation.

Op 22-06-12 20:18, Ricardo schreef:
> Hi,
> I am learning drools planner,  please explain to me about the
> ConstraintOccurrence (Int, Double,Long and Umweighted) object used in the
> then part of the drools planner drl file. My doubt is when to use this each
> type of this class and how it makes changes in the score calculations.
> note: Already search the mailing list, src code and read the user guide but
> no details available
>
> best regards,
>
> -----
> with kind regards,
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/drools-planner-ConstraintOccurrence-tp4018182.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>

-- 
With kind regards,
Geoffrey De Smet




More information about the rules-users mailing list