I added a new snapshot. From the ChangeLog:
- Updated to Qt 5.8.0.
- Added a new type of constraint: teacher(s)/students (set) max span per day (the maximum time spent in the institution on a day).
Suggested by Vangelis Karafillidis and rodolforg.
- Added a new type of constraint: teacher(s)/students (set) min resting hours (the minimum free time slots between the last working hour on a day and
the first working hour on the next day). Suggested by rodolforg.
Please help me testing these new constraints intensively. Also, for programmers, please diff generate.cpp with FET-5.30.8 generate.cpp and tell me if you think the new code looks OK, report things which might be not in place. Also, do a diff of the whole source package with FET-5.30.8. A good diff program is KDiff3.
The link, as usual, on http://lalescu.ro/liviu/fet/download/test/
The bad news is that the compiled Windows version will not work under Windows XP, because of Qt-5.8.0. I'll try to talk to Volker and keep also a version of FET-5.31.0 compiled with older Qt, for Windows XP users.
Test for students max span per day with/without students max gaps constraints, with/without early - max 0 or more beginnings at second hour. Test students max span per day with/without teachers max gaps constraints.
Test the min resting hours with circular or not.
I added a new snapshot. I corrected a potential bug in the constraint min resting hours, if the user mixed constraints with circular with those without circular. Please retest this constraint, in many variants, more constraints for the same teacher/students set, with different values for min resting hours and circular.
I hope to release the new version on Monday, 13 February 2017, or a few days later.
I released a new snapshot, with improvements in the constraints min resting hours. Unfortunately, recheck is needed.
I must postpone the release of the official version. Maybe on Wednesday or a few days later.
thank you for this version.
i don't understand the first constraint?
The max time a teacher/students set stays in the institution.
Quote from: Liviu Lalescu on February 14, 2017, 07:05:37 PM
The max time a teacher/students set stays in the institution.
what is the defferent between it and "max hours daily for a teacher"?
It includes gaps. If teacher comes at hour 2, has 2 hours, then 3 gaps, then 2 hours, then leaves, span is 2+3+2=7.
Quote from: Liviu Lalescu on February 14, 2017, 08:14:36 PM
It includes gaps. If teacher comes at hour 2, has 2 hours, then 3 gaps, then 2 hours, then leaves, span is 2+3+2=7.
ok, thank.
what is the defferent between "gaps" and "resting", i mean why we say: "max gaps per day for a teacher" and " min resting hour for a teacher"?
Please get the snapshot, run it, and see the dialog of constraints for the new constraints. It writes there an explanation. If you still need help after that, write me here again.
Quote from: Liviu Lalescu on February 14, 2017, 08:24:02 PM
Please get the snapshot, run it, and see the dialog of constraints for the new constraints. It writes there an explanation. If you still need help after that, write me here again.
thanks
this is what i did.
Min resting hours: from the end of the day to the beginning of the next day, the teacher needs to rest.
Max span per day: the teacher stays at school from the beginning to the end.