Custom FET for Moroccan schools

Started by Liviu Lalescu, September 17, 2008, 11:49:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Liviu Lalescu

I updated this alfaromeo version to FET 5.10.2, please see the initial (modified) post. Please report problems. You have also the old variant available.

Chafik Graiguer

Thanks a lot Liviu
I tried to do it myself, but I was lost   :-[  
Now, I will test it and report any issue

Liviu Lalescu

#17
To update this custom version from latest official FET, compare 2 files from official 5.10.2 with 5.10.2-alfaromeo: generate.cpp and generate_alfaromeo.cpp, and generate_pre.cpp and generate_pre_alfaromeo.cpp. Make the same changes to a later version of FET. Then, in that version of FET, modify interface.pro to include generate_alfaromeo.cpp and generate_pre_alfaromeo.cpp instead of the official files. Eventually, modify the version of fet-x.x.x to be fet-x.x.x-alfaromeo (in helpaboutform_template.ui and timetable_defs.cpp).

It is not very easy, but if you do it once, it's a piece of cake.

I decided to update, because I saw many Arabic speaking people working with custom versions.

Liviu Lalescu

12 August 2009:

I added new files, modified from 5.10.2. Only minor cosmetic changes: I added the modified files, so that someone else can do this job of updating in the future.

The files are now named 5_10_2-alfaromeo2.

Liviu Lalescu

23 August 2009 - at alfaromeo's suggestion, I added new features:

1) there is a list of teachers who can have 1 day exception or 2 days. In these exceptions they may work morning+afternoon.
2) the constraints teacher(s) max hours daily considers real days (morning+afternoon). You can add max 6 or 7 hours per day for exception days.
3) the constraints teacher(s) max days per week considers real days.

Please see initial (modified) post for links and details.

Chafik Graiguer

#20
Thank a lot Liviu for latest release
Naming it to "FET-morocco" is more meaninfull
I also noticed that last fet-5_10_2-morocco version is even much more faster than fet-5_10_2-alfaromeo2 !!
I think that some exceptions gives FET more possibilities to place activities
I will post an announce into the arabic forum..

Liviu Lalescu

#21
I made a new version, 5_10_2-morocco2, second version in the same day, 23 August 2009, because alfaromeo suggested a menu improvement and also I corrected a bug related to the list of exception teachers. See first post (which I modified), for links.

Chafik Graiguer

Thanks again
Download link is working fine
I posted an "announecement" in arabic forum

Liviu Lalescu

30 August 2009: I updated: the students (set) max hours daily considers real days (morning+afternoon). You can put for instance max 7 hours daily for students.

Liviu Lalescu

#24
30 August 2009: I added a new version, with min n days between activities constraints modified to take care of real days. See initial post for modified information.

Liviu Lalescu

31 August 2009: I made another release with this update: the add activity dialog will warn if you want to add an activity split into more than FET ndays/2 (real days).

Liviu Lalescu

On 10 September 2009 I fixed an important bug, please get new version morocco6 (see beginning of topic for links).

Thanks to alfaromeo for bug report and help on discovering it.

Chafik Graiguer

#27
Thanks a lot Liviu
Now, FET process both ONE and TWO days exception correctelly :)

jaafar

hello everybody! what about using fet 5.14 for the morroccan version? :'( :'( :'( :'(

Liviu Lalescu

Please see the fet-5.14.3/examples/Morocco/ and fet-5.14.3/examples/Morocco/Hadkourt/ directories, there are some text files which you can read with a text viewer/editor, and there is a .fet data file. They explain tricks on how to use official FET for Moroccan institutions.