Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

OptaPlanner. What does "minWorkingDaySize" and "lectureSize" fields mean?

enter image description here
there are values in the json file that are not completely clear. I want to know what they are responsible for and what they mean

I looked in the optaplanner documentation, he did not find a clear explanation.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

I’ve checked the documentation: https://docs.jboss.org/drools/release/6.0.1.Final/optaplanner-docs/html_single/index.html

Minimum working days: Lectures of the same course should be spread into a minimum number of days.

That’s most likely your minWorkingDaySize. Regarding lectureSize, I have a feeling that it’s an amount of lectures in the course. Look at the scheduling:

for (Course course : courseList) {
   ------------
   for (int i = 0; i < course.getLectureSize(); i++) {
       Lecture lecture = new Lecture();
       --------
       lectureList.add(lecture);
   }
}
schedule.setLectureList(lectureList);
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading