Timetables for virtual rooms

Started by math, December 04, 2019, 06:42:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

math

Hi!

I have some virtual rooms in my configuration file, which is working perfectly fine. Now I noticed that FET is generating timetables for these virtual rooms. What's the point of this? Virtual rooms encompass one or more sets of real rooms, so that these rooms are allocated when specifying a virtual room. Hence, a virtual room is never allocated but the real rooms it encompasses. (this is why all the timetables of my virtual rooms are empty).

Shouldn't virtual rooms be excluded from "Timetable -> Rooms"?

Liviu Lalescu

Hello,

Indeed, if I remember correctly, the timetable view dialogs for the rooms contains the void virtual timetables of the rooms. This is done out of commodity/laziness in keeping the old code. And it must surely not hurt.

On the other hand, the HTML timetables for the rooms contains the correct timetables of the virtual rooms, because this was possible easily. And also you have the option to enable from the settings printing of the virtual rooms in the other HTML timetables.

math

Hi Liviu!

For sure this is not critical at all, it's an optical issue at worst.

I wasn't aware of this switch. However, even if I disable "Setting -> Timetables -> Print virtual rooms in timetables", the virtual rooms are printed when starting "Timetable -> Print -> Rooms".

Thanks a lot again for having implemented the virtual rooms feature. I just love it... :)

Liviu Lalescu

#3
Hello, math!

The virtual rooms' timetable will be always printed/present in the HTML results. This option to enable "Print virtual rooms in timetables" will print/show in the HTML results the virtual room along with the real selected rooms (like: "virtualroom (H1, H2)" instead of "H1, H2"), in all timetables which show the room for the activities.

I am glad you appreciate it! It was started and continued using your ideas as well, and it seems it is perfectly implemented with a modified maximum bipartite matching algorithm from Wikipedia and other sources. I am also very satisfied with it. It is a good thing that I participated in some contests in the past and have learned the maximum bipartite matching methods, and recognized the hidden problem.

:)