FET Forum

FET Development => Suggestions => Topic started by: Liviu Lalescu on April 07, 2025, 11:46:22 AM

Title: Manual changes
Post by: Liviu Lalescu on April 07, 2025, 11:46:22 AM
Dear all,

I got many suggestions for manual changes (with drag-and-drop, and/or other techniques) in the generated timetables.

I would like to try to do this. My condition is a sponsorship contract / donations in total of 20,000 (twenty thousand) euros, valid only if the work is successful.
Title: Re: Manual changes
Post by: gradgrind on April 08, 2025, 11:08:19 AM
Hello Liviu,

If you do get around to doing this, there might be some useful ideas in some code I started to write last year. It reads a fet result file (..._data_and_timetable.fet) and shows a GUI where class, teacher or room can be selected. A grid with the timetable for that item is then shown. Clicking on a lesson in the grid should highlight cells where this lesson can be moved to without conflicts.

I think most of that works, but for classes with groups the class divisions must have a particular form, so that the lesson cells can be nicely divided according to group.

If you want to have a look, it's at https://github.com/gradgrind/WZC. The latest code is in folder tt02.
Title: Re: Manual changes
Post by: Liviu Lalescu on April 08, 2025, 11:19:35 AM
Hello, gradgrind,

Thank your for your post! I will try your code now.

I must mention that I was inspired by @g.theodoroy 's latest work with his program FET - edit + print, which proved that many things in this direction can be achieved with little code; also, I found the way manual changes could be done (practically).

I prefer to keep my own code in FET, because things are critical with regard to correctness and speed. But if I find somebody else's code and it is correct and useful, I'll try to include it and, of course, give credits.

Unfortunately, the lack of funding is a big problem!
Title: Re: Manual changes
Post by: Liviu Lalescu on April 08, 2025, 11:57:36 AM
I tried your program, gradgrind. It crashes for advanced students' structure, but I could work with it on the first Brazil example from FET-5-official. It is interesting.
Title: Re: Manual changes
Post by: gradgrind on April 08, 2025, 12:28:33 PM
Yes, FET can construct a very wide range of student structures. It is quite difficult to produce a nice, clear timetable display algorithm which covers every possibility for groups within a class/year. So my program only tries to support a particular group structure. My .fet files are normally generated by another program, so it is easy to produce the required structure.

I have attached an example of a working result file, where the classes/years are divided into groups: x01_data_and_timetable.fet.zip .
Title: Re: Manual changes
Post by: Liviu Lalescu on April 08, 2025, 01:31:54 PM
Oh, yes, I can see the structure.