OLD - FET-5.15.0 snapshot available for testing

Started by Liviu Lalescu, September 27, 2011, 12:12:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Liviu Lalescu

I have released a snapshot.

Great news, you'll love the new features :-)

1) Dialogs will retain geometry (reported by more users. Zsolt Udvari suggested to store also Activity planning dialog settings). Each new dialog should be first time centered over parent, but next time will retain previous settings. Small dialogs with informative text will not retain settings. Please report contrary behavior;

2) New constraint activities occupy max time slots from selection. Suggested by Zsolt Udvari, Christian Kemmer, Davide G. M. Salvetti, lalloso and maybe others. Can be used to constrain a teacher to have activities in certain slots and maybe in more other possible ways. (see Help for constraint for more details.) Please test extensively and report if it is working.

3) The activity tags, students, teachers, subjects, rooms, buildings, activities, subactivities, all time constraints and all space constraints dialogs contain a draggable splitter (with remembering state), so you can drag it, for better viewing (suggested by daviodan).

4) Removed dependence of Qt3Support classes. Many dialogs were changed. This is to improve FET and to prepare it for the future Qt 5. Please test each dialog in FET for correctness (as your time permits).

Please test all the above and report problems.

In addition, please open your old files and check that they generate identically with this new FET, and the random seed after generation is the same. (Note: when you start FET-5.15.0-snapshot and after that you start old FET-5.14.5, this old FET-5.14.5 it will not read correctly your settings, it is best to use default settings if you compare the old and new FET.)

Also, some new fields to translate (for translators).

It was hard tedious work for the last couple of weeks (the only interesting work was on the engine of the new constraint), but was worth it.

Link, as usual, http://lalescu.ro/liviu/fet/download/test/

Corfiot

Well done Liviu. Haven't tested yet but it all sounds great.

lalloso


Liviu Lalescu

I released a new snapshot, with some minor changes in the generation routine:

1) If an activity is impossible and the user interrupts the generation, FET won't freeze anymore for some minutes (probably rare situation). Please generate some timetable, and interrupt some.

2) Minor speed improvement in the new constraint. Please recheck generating with this constraint.

Silver

thanks. i don't understand num 2?
why we used "max occupied".

regards

Liviu Lalescu

#5
Quotethanks. i don't understand num 2?
why we used "max occupied".

regards

Please run FET and read constraint's help (in the constraints list for this type you have a Help button.)

drew

Doesn't compile for me:

Ubuntu 11.04 with all updates:

Chugs along for over 8 minutes, then g++ segfaults

g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -Iengine -Iinterface -I../tmp -I../tmp -o ../tmp/alltimeconstraintsform.o interface/alltimeconstraintsform.cpp
In file included from /usr/include/qt4/QtGui/qtextlayout.h:50:0,
                 from /usr/include/qt4/QtGui/qabstracttextdocumentlayout.h:46,
                 from /usr/include/qt4/QtGui/qplaintextedit.h:52,
                 from /usr/include/qt4/QtGui/QPlainTextEdit:1,
                 from ../tmp/ui_alltimeconstraintsform_template.h:23,
                 from interface/alltimeconstraintsform.h:21,
                 from interface/alltimeconstraintsform.cpp:22:
/usr/include/qt4/QtGui/qevent.h: In member function 'const QPoint& QMouseEvent::pos() const':
/usr/include/qt4/QtGui/qevent.h:90:38: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
make[1]: *** [../tmp/alltimeconstraintsform.o] Error 1
make[1]: Leaving directory `/home/drew/Desktop/fet/fet-5.15.0-snapshot-28-sept-2011-14_00/src'
make: *** [sub-src-make_default] Error 2

real      8m29.953s
user      5m48.090s
sys      0m21.420s

Liviu Lalescu

QuoteDoesn't compile for me:

Ubuntu 11.04 with all updates:

Chugs along for over 8 minutes, then g++ segfaults
...
make: *** [sub-src-make_default] Error 2
...

Probably gcc/g++ error, please reinstall/update your gcc package. You may also try to reinstall/update Qt. On my computer I never got this error on future FET-5.15.0.

Liviu Lalescu

I have added a new snapshot. Improved split year dialog and all time/space constraint advanced filter, so that settings are save the same way as dialogs' geometry. Please check this.

Chafik Graiguer

#9
Thanks Liviu for new constraint
Quotethanks. i don't understand num 2?
why we used "max occupied".

regards
I think, this new constraint is useful in the following senario:
Suppose we have 6 time slots par day form 1 to 6
Students has 4 lessons of geography per week
We dont want ALL the four lessons to be scheduled at last hour 6th slot, when students are tired
So we will select 6th slots (all days), put 3 Maximum
Thus, we will ensure that at most 3 geography lesson occur toward the end of day

Am I right?

Liviu Lalescu

#10
Yes, but in this case I would recommend constraint subactivities preferred time slots, preferred for a single component, not allowed in the last slot. This may be more efficient.

You gave me an idea, to improve the new constraint, by adjusting the initial order of activities like for preferred time slots. (Now it is not perfect.)

Edited to add: Unfortunately, it is not easy to make perfect the initial order for this new constraint. I don't know if I can make it perfect.

Liviu Lalescu

I added a new constraint, activities max simultaneous in selected time slots. Useful if you want for example to have at least 3 free teachers in each time slot, for supervision.

Liviu Lalescu

I added a new snapshot, speed improvements in the new constraints in case they are used redundantly. Minor improvements in the new constraints dialogs.

Chafik Graiguer

#13
Another useful constraint
In the past, I used to limit maximum activities per time slot using dummy rooms. But was quite tedious
Now it is more convenient
Edited to add: Is  it possible to make new constraint work like A set of activities has a set of preferred time slots, where choosing a subject or a teacher induce all activities related to that subject or teacher?
That way, it is possible to limit physic or chemistry lessons due to limited laboratory resources

Liviu Lalescu

#14
QuoteAnother useful constraint
In the past, I used to limit maximum activities per time slot using dummy rooms. But was quite tedious
Now it is more convenient
Edited to add: Is  it possible to make new constraint work like A set of activities has a set of preferred time slots, where choosing a subject or a teacher induce all activities related to that subject or teacher?
That way, it is possible to limit physic or chemistry lessons due to limited laboratory resources

Yes, of course, but you need to add all activities in the list (you have an "Add all" button, don't worry :-)