Or, change the design (if possible) so you only have 1 planning entity class
(and then just configure the 3 lines for First Fit, First Fit Decreasing
or BF or BFF as you can find in the manual and in all other examples).
What's your use case?
It's first time I hear about a use case with more then 2 entity classes,
it's very rare.
As advised, I am reading the drools-planner.5.4.0.Final user guide, section 18.104.22.168. Cached problem fact, I noticed in the example method explaining about finding out the topic conflict, in this method multiple for loop and if condition are there, since we use drools expert can I create a drl file for this logic to handle instead of using java code here, please advise me.
section *22.214.171.124. Cached problem fact* is about precalculated problem facts,
you probably don't need that in a beginner example.
In that example, a topic confict is not the detection of a constraint,
but the combination of any 2 topics that share students and therefor
could trigger a constraint,
if and only if their exams are scheduling at the same time.
Op 19-06-12 21:16, Ricardo schreef:
> Hello Geoff,
> As advised, I am reading the drools-planner.5.4.0.Final user guide, section
> *126.96.36.199. Cached problem fact*, I noticed in the example method explaining
> about finding out the topic conflict, in this method multiple for loop and
> if condition are there, since we use drools expert can I create a drl file
> for this logic to handle instead of using java code here, please advise me.
> with kind regards,
> View this message in context: http://drools.46999.n3.nabble.com/drools-planner-planning-entity-tp4018034p4018080.html > Sent from the Drools: User forum mailing list archive at Nabble.com.
> rules-users mailing list
> [hidden email] > https://lists.jboss.org/mailman/listinfo/rules-users >
I am learning drools-planner to use in my project. I created a sample project for my practice (copy from example project in the example project), but it is not working correctly. Please kindly review the attached project folder, help me to understand and find the problem.