Hello!
let me suggest adding timetables for buildings, in fet(nsrt too) and TiTiTo too.
THANKS.
Hello,
It is Volker who designed the timetables export. We should wait for his answer, and if he cannot do it I will add it in the TODO for now. If it is really needed for you, I could try to add it in the FET-NSRT version, because it is not critical to implement it perfectly there. Do you also highly need it also for the official FET?
I wrote in on my TODO.
I can't code it today. Maybe at the weekend.
I guess an imperfect (slow) solution won't be difficult to code. Including coding, testing, compiling, ... probably less than 1 day work. (For FET or TiTiTo). A faster/better solution probably one day more. For both variants probably an other more day.
Thank you for your reply.
I was working on an nsrt file, changing the way the data was entered. the teachers entered as teachers, the rooms as rooms. for these last ones ; the rooms are entered in doubles, that is to say 40 rooms instead of 20; each 2 rooms represents a real room, because FET does not allow cohesion of activities. then I had the idea of representing each 2 rooms (which represent a real room) by a building which has the same name as the real room. but unfortunately FET as well as TiTiTo does not allow you to export building schedules.:-(
Did you solve the problem (I talk about generating the file) successfully and only the printing fails now? In that case i will try to code it this weekend.
Or do you only have that idea and didn't finish the FET data set, since the print of buildings is missing? In that case i ask you to check if you/FET can generate the data set and as soon as it solves i will code the print buildings timetables. (Since in fact my original plan for this weekend was recording a new YouTube Video - Power Saving with FET part 2 - Calculating how much money you will save if you buy a new computer)
Yes I solved the problem with FET-nsrt successfully. it was only the impression that failed.
Dear Benahmed and Volker,
Considering your words, Benahmed, I am not sure the buildings timetables would be useful in the official FET. Also, I would like to keep a bit more the stable version of the official FET which we reached now.
So, I propose you that at least for now to add buildings timetable only for FET-NSRT. If Volker has not time for this, I offer to try to implement this myself. In this way, I'll also update FET-NSRT to the latest FET, which hopefully is stable and has some nice new features (Benahmed, did you see the change log?).
If it turns out to be useful (the buildings timetables) also for the official FET, I will consider this.
Benahmed, which buildings timetables interest you? HTML and printing from the interface? Days horizontal and vertical and time horizontal and time vertical?
thank you!
HTML of course, given the interface the Qt bug which concerns the Arabic language still persists. For the moment, horizontal time and vertical time, but if horizontal days and vertical days are added it is perfect.
The Qt bug in the interface about Right to Left is sadly still present :-(
If you already generated successfully, then I can start coding Friday afternoon.
If it doesn't fit into official FET right now, maybe I should add it in TiTiTo first, so all FET users can try and use it. And if it is useful, we can implement in official FET.
The slow variant should be only a lot of copy and paste.
Just doing it as in the "all activities" functions, only with a loop around.
As pseudo code
foreach(building : buildingList){
if(activity.building == building){
...
}
}
This is the slow variant. I must think about a fast variant. But maybe the slow variant is also ok.
Benahmed and Volker, wouldn't this solve it without the need for buildings' timetables: add an activity tags to each activity, B1 or B2, and see the activity tags' timetables?
Good idea. I think it should work with FET (but not with TiTiTo, since i didn't import the activity tags).
Let's wait for Benahmed answer, he knows better, since he can try with his sample file.
I thought about activity tags, and I even used it, but unfortunately it didn't work...
I think Liviu mean you generate with rooms of course, but now you add an activity tag to each activity. But you DON'T an activity tag constraint. But you print the activity tags timetables.
I see, Benahmed, you know better than me the mode of operation of FET-NSRT. I will try now buildings timetable to FET-NSRT and if I cannot we'll wait for Volker.
Volker, I think it won't work. Benahmed knows that an activity must go to room 1 or room 2, but does not know which activity where.
ah... ok. I see.
Technical, for Volker: I could add the buildings_timetable_weekly, as a QList<int>.
yes, that will be a fast variant.
hmmm... thinking some more I am not sure if it worth to improve speed by this, since in normal case the number of buildings is low. So maybe keep the slow variant, since it is easier to code / less code / less memory usage? But of course slower.
Benahmed, I did it, please let me know: https://lalescu.ro/liviu/fet/download/custom/nsrt-test/
After you translate and check, I'll put a final version, compiled for Windows 7 as well.
I checked, it Works Very well. That's very nice of you...
I hope TiTiTo will be ready soon. Thank you very much Dear Liviu and Volker.
I attach some screenshots below. They look very nice.
I made it: https://lalescu.ro/liviu/fet/download/custom/nsrt/
We will add also in FET-official the print of buildings timetables.
Dear Benahmed,
I apologize, I discovered a nasty crash bug (for instance, stop simulation). I will try to fix this as soon as possible.
I have put the new versions. I hope now it's OK.
The names of the archives is not very nice (contains "snapshot..."), because it is based on the not-yet-released FET-6.14.0. I hope I will remedy this soon.
Quote from: Liviu Lalescu on November 30, 2023, 01:09:14 PMI made it: https://lalescu.ro/liviu/fet/download/custom/nsrt/
We will add also in FET-official the print of buildings timetables.
Thank you very much Dear Liviu for adding this suggestion in official FET and nsrt :-)
You are welcome, Dear Benahmed! :)
After a few days, I hope to update FET-NSRT to the official FET, because now it is based on a snapshot.
Dear Benahmed,
I updated: https://lalescu.ro/liviu/fet/download/custom/nsrt/
(also, GNU/Linux executables available.)
Thank you very much dear Liviu.
I am sure this custom version will help many FET users to prepare exam timetables. The interest of FET users keeps increasing in how to use NSRT (Facebook as an example) especially after the announcement of the new approach (see the topic in Algeria page on the forum); enter teachers as teachers, and rooms as rooms. In previous versions it was the opposite, the method of calculating activities and dividing all teachers into subsets was a bit complicated, now everything has become simpler.
@Liviu Lalescu :" (also, GNU/Linux executables available.)" Wow! This is new, can we know why?
You are welcome, dear Benahmed! :)
The GNU/Linux executables are for users of this operating system, like Ubuntu, Debian, openSUSE, etc. Not useful for Windows users.
Ah! ... OK! ...I see
Thank you liviu & Abdelkrim
Now, the way of prepare exam timetables has become much simpler. Frankly, the previous method was complex, and personally, I couldn't try it. But now, entering teachers and rooms has become easy and understandable. I'll work on sharing the method on Facebook and maybe post a video explaining how to use FET NSRT, and how to calculate activities before using the program.
You are welcome 🙂
Thanks for your interest.
Thank you!
I just updated FET-NSRT to the latest FET version, 6.14.1: https://lalescu.ro/liviu/fet/download/custom/nsrt/
(this fixes important crash bugs, as explained in the release notes for the official FET-6.14.1.)
Thank you dear Liviu for this update.
You are welcome, dear Benahmed! :)