Does a setting for a specific teacher override the global setting?

Started by Wizard, September 20, 2014, 04:30:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Wizard

Hi!
I have set max gaps per day for all teachers to be 2. If I set max gaps per day for a specific teacher to be 1 or 3, does this setting override the general setting? Does this apply for all global settings that can be altered for a specific teacher, like max hours continuously, min days, etc?

Liviu Lalescu

All constraints are respected. The stronger wins. This is not always pleasant for the user. In some cases you need to add individual constraints for each teacher.

Ex: All teachers max gaps = 2, T1 max gaps = 3, then the second constraint is ignored.

Wizard

Quote from: Liviu Lalescu on September 20, 2014, 04:35:42 PM
All constraints are respected. The stronger wins. This is not always pleasant for the user. In some cases you need to add individual constraints for each teacher.

Ex: All teachers max gaps = 2, T1 max gaps = 3, then the second constraint is ignored.

What exactly does "stronger" mean?
Why is "all teachers" stronger in "All teachers max gaps = 2, T1 max gaps = 3"? Is it because it has lower value?
If it was "All teachers max gaps = 2, T1 max gaps = 1", which one would be stronger?

Liviu Lalescu

Stronger: max gaps means lower value. Stronger min hours daily means higher value, as another example. Stronger max hours means lower value.

All teachers max gaps 2, T1 max gaps 3 => all teachers max gaps 2.

All teachers max gaps 2, T1 max gaps 1 => all teachers without T1 max gaps 2, T1 max gaps 1.