⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 faq.html

📁 用遗传算法写的软件,非常有用! 值得大家一看!
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<P>-------------------------------------------------------------------------------</P><P><BR><BR></P><P>Q: What advantages has FET over other applications?</P><P>A: - It is free software</P><P>- Supports weekly and biweekly activities (my university ofCraiova, Romania, needed that);</P><P>- Independent subgroups, overlapping or independent groups,overlapping or independent years (flexible enough to permit any kindof students structure). FET can even be used to manage everyindividual student, if you really need that;</P><P>- Possibility of optional activities;</P><P>- Many kinds of constraints, possibility to add many more (pleasesuggest!).</P><P><BR><BR></P><P>-------------------------------------------------------------------------------</P><P><BR><BR></P><P>Q: What are the disadvantages of FET, compared to otherapplications?</P><P>A: - Very unfriendly (no help, primitive graphical userinterface);</P><P>- Potentially buggy. I do not have enough sample files for testingFET (and I hate testing :-)</P><P>-------------------------------------------------------------------------------</P><P><BR><BR></P><P>Q: Does FET compile on other operating systems than GNU/Linux?</P><P>A: FET can be compiled easily in operating systems which aresimilar to GNU/Linux. I will provide help to compile this program onany operating system. In particular, FET can be compiled on MicrosoftWindows, if you install Qt from trolltech.com.</P><P><BR><BR></P><P>-------------------------------------------------------------------------------</P><P><BR><BR></P><P>Q: Does FET claim to be the best timetabling software in theworld, like all the other timetabling applications?</P><P>A: I cannot pretend that, because I could not compare FET withother applications (if you could help me, that would be great). All Ican say right now is that I did not see any application with as manykinds of constraints and such flexibility as FET, and besides beingfree software.</P><P><BR><BR></P><P>Is FET the first free timetabling software (GNU/GPL)? Hmmm... thefirst one was Tablix, as I found out after finishing FET. You can seelinks to this software if you look in the LINKS file or if you searchit on the internet.</P><P><BR><BR></P><P>-------------------------------------------------------------------------------</P><P><BR><BR></P><P>Q: What is the difference between unallocated and randominitialization? Which one is better?</P><P>A: This means the method of initializing the population ofsolution candidates. It seems (practical results) that unallocatedinitialization is better. I have not read about unallocatedinitialization anywhere, but it seems to me more natural and I havean empirical explanation somewhere on my thesis.</P><P><BR><BR></P><P>-------------------------------------------------------------------------------</P><P><BR><BR></P><P>Q: Help on ConstraintMinNDaysBetweenActivities.</P><P>A: It refers to a set of activities and involves a constant, N.For every pair of activities in the set, it does not allow thedistance(in days) between them to be less than N. If you specify N=1,then this constraint means that no two activities can be scheduled inthe same day. N=2 means that each two subactivities must be separatedby at least one day</P><P>Example: 3 activities and N=2. Then, one can place them on Monday,Wednesday and Friday (5 days week).</P><P>Example2: 2 activities, N=3. Then, one can place them on Mondayand Thursday, on Monday and Friday, then on Tuesday andFriday (5 daysweek).</P><P><BR><BR></P><P>-------------------------------------------------------------------------------</P><P><BR><BR></P><P>Q: Is it easy to add new constraints to FET?</P><P>A: It is very easy. I can say that I am able to implement a newconstraint in a matter of hours. You can find a description of thisprocedure in file /.../fet-x.x.x/doc/how-to-implement-new-constraints</P><P><BR><BR></P><P>-------------------------------------------------------------------------------</P><P><BR><BR></P><P>Q: Help on ConstraintStudentsEarly.</P><P>A: It is a constraint that imposes the condition that all thestudents must begin their courses as early as possible. You have tobe careful with this constraint: if any set of students begins theclasses later than the first hour in a certain day, you</P><P>will get a conflict.</P><P><BR><BR></P><P>-------------------------------------------------------------------------------</P><P><BR><BR></P><P>Q: FET fails to solve my timetable.</P><P>A: Please try to use a greater population size. Then, try moresimulations. If that does not solve your problem, please try to relaxthe conditions on the timetable. You can accomplish that by deletingcompulsory constraints or by making them non-compulsory</P><P><BR><BR></P><P>-------------------------------------------------------------------------------</P><P><BR><BR></P><P>Q: Do the weights have any importance? What is the best way tochoose them?</P><P>---The comment below was written when FET used only mutation whichrandomized an activity's starting time.</P><P>A: Yes, the weights are important, but unfortunately I cannotanswer to the second question.</P><P>I can justify the first affirmation by an example: the consideredfile is named (for the moment) sample4. As it is right now, it is agood example of a very constraint timetable, difficult to schedule byFET. The weights are chosen such that the basic constraints have asmaller weight than the constraint avoiding the gaps for thestudents. I think that after about 4 tries, FET manages to find aclash-free timetable (I am only referring to compulsory constraints).There was no trial in which FET failed with more than 3 compulsoryconstraints conflicts (usually 1).</P><P>I wanted to impose the more important basic constraints, so Iraised their importance (weight) and lowered the weight of the gapsconstraints. The results came as a very unpleasant surprise for me: Inever obtained less than 3 conflicts, with an average of 6. Whatconclusions can be derived: I am currently thinking and analysingthis issue. Until someone will come up with a plausible explanation,I think that: the weights of the constraints are influencing theconflicts function. The function can have more or less local minima(which are a headache for genetic algorithms designers). You areencouraged to play with different weights.</P><P><BR><BR></P><P>New comment: FET-s algorithm favorises the one-mutationtransitions, that is, from a candidate solution you obtain a newcandidate solution with a single activity rescheduled. The oldcandidate solution and the new one must have a good fitness, to bepreferred in the evolutionary process. Basic constraints are morelikely to be respected by this mutation, whereas gaps constraintsrequire more mutations and the intermediary candidate solutions arenot so fit and therefore the chances are lower of finding the goodsolution.</P><P><BR><BR></P><P>---The comment below was written after I chosed to introduce alsothe second kind of mutation, a swapping of two random activities.This swapping was very benefical, and now the results are the same,regardless of the weights (I am only referring to the above example).The reason is that this random swap helps FET transform a candidatesolution which does break gaps constraints into a candidate solutionwhich does not.</P><P><BR><BR></P><P>-------------------------------------------------------------------------------</P><P><BR><BR></P><P>Q: Can I use FET to do interactive timetabling?</P><P>A: Yes, but this is not easy. All the part regarding datarepresentation and gradually construction of the solution is working,only the interface has to be updated.</P><P>Anyway, when you add a compulsory ConstraintActivityPreferredTime,it means that you fixed that activity. You can use this feature for asemi-automatic or even manual timetabling, but it is not soconvenient.</P><P><BR><BR></P><P>-------------------------------------------------------------------------------</P><P><BR><BR></P><P>Q: Help on ConstraintActivityPreferredTimes.</P><P>A: You can specify a set of time slots when this activity can bescheduled (a kind of OR of more ConstraintActivityPreferredTime).</P><P><BR><BR></P><P>Important: For only one non-compulsory preferred time,ConstraintActivityPreferredTimes might behave better thanConstraintActivityPreferredTime, depending on whether you areinterested in minimizing the distance to this preferred time or onlyin reaching the exact preferred time. Please see the detailedobservation in the explanation of ConstraintActivityPreferredTime</P><P><BR><BR></P><P>-------------------------------------------------------------------------------</P><P><BR><BR></P><P>Q: Help on ConstraintStudentsSetIntervalMaxDaysPerWeek.</P><P>A: Quite a difficult and long name. A user needed a constraint todisallow more than 2 afternoons per week for a students set. Thisconstraint is more general. You can specify an interval (by the startand end hour), a students set and the maximum number of days in aweek when it is permitted to have activities in this time interval.</P><P><BR><BR></P><P>-------------------------------------------------------------------------------</P><P><BR><BR></P><P>Q: Help on Constraint2ActivitiesConsecutive.</P><P>A: A user needed a timetable to respect the requirement that 2activities follow one after the other (order is important). Forcompulsory and non-compulsory, normal error reporting is done. Theconflicts are a difference in days + a difference in hours. Thenumber of conflicts is multiplied with 2 if the first activity isweekly (not bi-weekly) and again multiplied with 2 if the secondactivity is weekly.</P><P>-&gt;added - 15 May 2004.</P><P>-&gt;modified - 20 February 2005.</P><P><BR><BR></P><P>-------------------------------------------------------------------------------</P><P><BR><BR></P><P>Q: Help on Constraint2ActivitiesGrouped.</P><P>A: A user needed a timetable to respect the requirement that 2activities follow one after the other (order is not important).Forcompulsory and non-compulsory, normal error reporting is done. Theconflicts reported are: the difference in days+: - the difference inhours if the activities are too far from each other</P><P>- a constant number if the activities overlap</P><P>- 0 if the hours are OK.</P><P>The number of conflicts is multiplied with 2 if the first activityis weekly (not bi-weekly) and again multiplied with 2 if the secondactivity is weekly.</P><P><BR><BR></P><P>-&gt;added - 15 May 2004.</P><P><BR><BR></P><P>-------------------------------------------------------------------------------</P><P><BR><BR></P><P>Q: Help on ConstraintActivitiesPreferredTimes.</P><P>A: A user suggested that ConstraintActivityPreferredTimes shouldbe more general. Now, you can specify a teacher, the students and asubject as a filter to a set of activities that must be scheduled incertain intervals.</P><P><BR><BR></P><P>-&gt;added - 15 May 2004.</P><P><BR><BR></P><P>-------------------------------------------------------------------------------</P><P><BR><BR></P><P>Q: After finding the timetable of our school, suppose that asingle teacher needs to modify his timetable and the rest would liketo keep their timetable unchanged. Thus, it is needed to fix all theactivities of the rest of the teachers and re-allocate the hours. CanFET deal with such a situation?</P><P>A: Yes, FET can deal with that. Just add many compulsoryConstraintActivityPreferredTime-s, one for each activity that youwould like to be fixed (the preferred time will be the one from theprevious allocation). This will not slow down the allocation, becausecompulsory constraints of this type are dealt with in a special way(repairing of the chromosomes, to be more specific).</P><P><BR><BR></P><P>-&gt;added - 17 November 2004.</P><P><BR><BR></P><P>-------------------------------------------------------------------------------</P><P><BR><BR></P><P>Q: What about introducing duplicate constraints in the timetabledata?</P><P>A: It will slow down the automatic allocation, so please don't.</P><P><BR><BR></P><P>-&gt; added - 12 February 2005.</P><P><BR><BR></P><P>-------------------------------------------------------------------------------</P><P><BR><BR></P><P>Q: What about the one phase and 2 phases automatic allocation?</P><P>A: If FET fails to solve your timetable in 2 phases (it has manybroken space constraints), try a single phase allocation</P><P>-&gt; added - 14 February 2005.</P><P><BR><BR></P><P ALIGN=RIGHT>this documentation by Liviu Lalescu</P></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -