FET Forum

FET Support (English) => Programming Help => Topic started by: HamzaHachimi on May 01, 2015, 06:31:28 PM

Title: Help generate_pre
Post by: HamzaHachimi on May 01, 2015, 06:31:28 PM
Hello genious !
I need a description of algorthim generate_pre ?
Thanks in advance.
Title: Re: Help generate_pre
Post by: Volker Dirr on May 01, 2015, 10:43:33 PM
Hi,
Liviu is currently not available. Maybe he will explain more detailed.
The generation_pre has got 2 main goals.
1. it convert from more "human readable data" into "fast computer readable" data. So the goal is to improve speed if the generate.cpp use a constraint.
2. order the activities by difficult. activities with a low number of possible timeslots and activities that conflicts with other activities are more difficult. So the goal is to improve speed by scheduling more difficult activities first.

Please just read the generation_pre.cpp and ask more specific again.
Title: Re: Help generate_pre
Post by: HamzaHachimi on May 02, 2015, 11:06:32 AM
Thanks Volker Dirr ,
I am reading this file, If I have a question I post it on the forum.
I think that I need help like this "http://lalescu.ro/liviu/fet/forum/index.php?topic=444.0" especially the second goal
In every case thank you very much for your help.
Title: Re: Help generate_pre
Post by: Liviu Lalescu on May 03, 2015, 08:21:04 PM
Hello,

Sorry for answering slow, I was away.

Thank you for the appreciation!

The most important part of generate_pre.cpp is the sorting of activities (see function sortActivities(...) ). If an activity is short on rooms or allowed time slots, etc., it is placed earlier).

Please try to read and come back with specific questions and I'll try to help some more.