FET Forum

FET Support (English) => Programming Help => Topic started by: Hema on November 27, 2010, 05:00:31 PM

Title: Some questions about FET
Post by: Hema on November 27, 2010, 05:00:31 PM
I've some questions:

Are you programming FET by c or c++? AND are you build it by Borland C++ or Visual c++.net?

How I can get  the command line version of FET in suse11.2/ linux?

You're said:
FET until versions 4 was done using genetic algorithm (trivial and bad algorithm).
FET 5 uses a recursive swapping algorithm. This is much better.

Which is one on suse (4 or 5 version)?


I need your program for my graduation project, I need to understand every cpp files, could you tell me how I can get documentation or tutorial to explain the cpp files?

Thanks for your help :)
Title: Re: Some questions about FET
Post by: Liviu Lalescu on November 27, 2010, 05:21:28 PM
QuoteI've some questions:

Are you programming FET by c or c++? AND are you build it by Borland C++ or Visual c++.net?

C++, using Qt libraries (qt.nokia.com), I write the code in text mode in Midnight Commander and compile with gcc (gcc.gnu.org).

Quote
How I can get  the command line version of FET in suse11.2/ linux?

Run "fet --inputfile=data.fet" (see README file for more details).

Quote
You're said:
FET until versions 4 was done using genetic algorithm (trivial and bad algorithm).
FET 5 uses a recursive swapping algorithm. This is much better.

Which is one on suse (4 or 5 version)?

Probably 5. See FET Help About or run "fet --version".

Quote
I need your program for my graduation project, I need to understand every ccp files, could you tell me how I can get documentation or tutorial to explain the ccp files?

Unfortunately, there is not too much documentation. See the doc/ directory of FET or Documentation section on FET homepage. Also, there are some comments in the .h and .cpp sources.

Quote
Thanks for your help :)
Title: Re: Some questions about FET
Post by: Hema on November 27, 2010, 05:56:33 PM
Thanks Liviu for your answers :)

Inside fet-->src, two folders one is (engine) I think inside it timetable algorithms and ......
another is (interface)
What is the benefit for this file (interface), Is useful only for the interfaces (menu for add teacher, menu for add student ....). Could you tell me, please.

Thanks again
Title: Re: Some questions about FET
Post by: Liviu Lalescu on November 27, 2010, 06:03:43 PM
QuoteThanks Liviu for your answers :)

Inside fet-->src, two files one is (engine) I think inside it timetable algorithms and ......
another is (interface)
What is the benefit for this file (interface), Is useful only for the interfaces (menu for add teacher, menu for add student ....). Could you tell me, please.

In engine/ directory there is indeed the generation algorithm, and in interface/ there is the menu (add data, generate timetable, etc.). From interface/ the main file is fet.cpp, which starts FET.
Title: Re: Some questions about FET
Post by: Hema on November 27, 2010, 07:30:26 PM
Thank you, Liviu  :)

I apologize for the more questions, if I need more questions about the code, could you help me, please!
Title: Re: Some questions about FET
Post by: Liviu Lalescu on November 27, 2010, 07:43:04 PM
QuoteThank you, Liviu  :)

I apologize for the more questions, if I need more questions about the code, could you help me, please!

OK, sure, please ask, and I'll try to answer :-)