Help generate_pre

Started by HamzaHachimi, May 01, 2015, 06:31:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

HamzaHachimi

Hello genious !
I need a description of algorthim generate_pre ?
Thanks in advance.

Volker Dirr

#1
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.

HamzaHachimi

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.

Liviu Lalescu

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.