Main Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Volker Dirr

Suggestions / Re: Buildings timetables
November 29, 2023, 07:44:44 PM
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.
Suggestions / Re: Buildings timetables
November 29, 2023, 07:13:38 PM
ah... ok. I see.
Suggestions / Re: Buildings timetables
November 29, 2023, 07:10:34 PM
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.
Suggestions / Re: Buildings timetables
November 29, 2023, 07:06:20 PM
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.
Suggestions / Re: Buildings timetables
November 29, 2023, 06:39:27 PM
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.
Suggestions / Re: Buildings timetables
November 29, 2023, 04:10:57 PM
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)
Suggestions / Re: Buildings timetables
November 29, 2023, 11:01:51 AM
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.
General Stuff / Re: Room Usage
November 27, 2023, 08:42:02 PM
Because you added 2 constraints to that activities, but the teachers home room constraint will be always skipped if you add an other room constraint.

So you have:

Space constraint
Subject preferred rooms
Weight (percentage)=100%
Room=A Room

Space constraint
Teacher home room
Weight (percentage)=100%
Room=A Room


FET cares about the first constraint and select randomly one out of that 9 rooms.
FET don't care about the second constraint, since it is a HOME room constraint that is "overwritten" by other room constraints.

HOME room constraints are different from all other constraints in FET. In normal case FET cares about every constraint.
But HOME room constraint are different, they are disabled as soon as there is an other room constraint related to the activity.
General Stuff / Re: Room Usage
November 27, 2023, 07:58:27 PM
Maybe you used a weight below 100%?
Or you added a subject preferred room constraint for that teacher. Teacher (home) room constraints will be skipped, if there are other room constraints related to the activity.
If that doesn't help please attach you file and tell us the name of the teacher, the subject and the room, so we can maybe find the bug.
General Stuff / Re: Room Usage
November 26, 2023, 10:26:34 PM
Please read FET -> Data -> Rooms -> Make/edit virtual -> help
General Stuff / Re: Room Usage
November 26, 2023, 11:05:04 AM
Yes, the activities with that subject will only use one room out of that three rooms. (If you need more then 1 room for an activity, then please read the help about virtual rooms)
General Stuff / Re: Room Usage
November 26, 2023, 08:53:03 AM
Yes. That is exactly why roomS constraint are available in FET. So don't use the room constraint. Just use the roomS constraint.
General Stuff / Re: 2 Weeks Time Table
November 26, 2023, 08:13:33 AM
Yes, of course. See the manual chapter "Add a fortnightly activity":
Programming Help / Re: Compiling Issue
November 26, 2023, 08:12:11 AM
This is an Qt error. You should ask in the Qt forum:

I can see that you try to download the android version. I tried that the last time some years ago and it didn't work. But since some years past now, it might work. Let me know if you can run FET on android. Even i don't see a good reason for running FET on android, since the screen size of android devices (phones) are normally much too small for a tool like FET and also the cell is much too small to run it for a longer time on full load. But maybe you try to use an android TV? But i fear those CPUs are not optimized for fast computing, they are normally optimized for fast encoding videos, but that is mostly done by the GPU, not the CPU.
Attach the latest file if you still need help.