Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - it.manveer.singh

#46
Programming Help / Re: FET WITH JAVA
September 23, 2009, 02:32:01 PM
hello,
Please tell me which file makes table with limited rows and columns.
#47
Programming Help / Re: FET WITH JAVA
September 19, 2009, 10:25:52 AM
Hello,
Can You tell me. What is going in this line.  I have this QList<int> activitiesSameStartingDayActivities[MAX_ACTIVITIES] and QList<double> activitiesSameStartingDayPercentages[MAX_ACTIVITIES];. Why we used this statement following below:
for(int i=0; i<gt.rules.nInternalActivities; i++){
           activitiesSameStartingDayActivities.clear();
           activitiesSameStartingDayPercentages.clear();
     }
I am thinking you are getting all elements in activitiesSameStartingDayActivities by passing i. After that you are clearing this list by using .clear() method. Am i right. And Also what is append. in QList. Append means : You have used :int t=activitiesHomeRoomsHomeRooms[a].indexOf(spr->_room);
                             activitiesHomeRoomsHomeRooms[a].clear();
                             activitiesHomeRoomsPercentage[a]=max(activitiesHomeRoomsPercentage[a], spr->weightPercentage);
                             if(t!=-1){
                                   activitiesHomeRoomsHomeRooms[a].append(spr->_room);
                             }
Please explain it. It is really very important to me. In high lighted line where you are initializing t variable. What is this activitiesHomeRoomsHomeRooms[a].indexOf(spr->_room). I am unable to understand it. Please help. And also tell activitiesHomeRoomsHomeRooms[a].append(spr->_room); Is it adding this room element to activitiesHomeRoomsHomeRooms with it's index [a] or something else.

Thanks in advance.

Manveer
#48
Programming Help / Re: FET WITH JAVA
September 17, 2009, 11:58:45 AM
Hello,
      I want to about sortActivities method. What is it's working. Is is sorting complex means which has two type of activity like 2 activities_grouped, sameStartingTime. and so on. Please tell me about the procedure which you are following. And Also tell me THRESHOLD. And Please can you send documentation of this code in details. I will be thankful to you.
Thanks
 Manveer Singh
#49
Programming Help / Re: FET WITH JAVA
September 12, 2009, 11:51:10 AM
Hello,
       Can you graphically explain that how to generating time table by clicking on generate new. And which file are you using for generating time table and this menubar. Please help.

#50
Programming Help / Re: FET WITH JAVA
September 12, 2009, 04:16:20 AM
Hello,
     I want to set the schedule like this. One teacher can teach one class three times of a week. When I am generating time table in FET. It shows me different week. and the activities are not proper in order. Like one day gap between each lecture or one hour gap of each lecture.
Please describe.

#51
Programming Help / Re: FET WITH JAVA
September 10, 2009, 11:18:32 AM
Hello,
Can you explain it more.... where you pick 5 from ?
The routine random_swap will only search (recursively) the first (best)
slot if level>=5. That is, we search at level 0 all slots, at level 1 the same,
..., at level 4 the same, at level 5 only the first (best) slot, at level 6 only
the first (best) slot, etc., we reach level 13, then we go back to level 4 and
choose the next slot, etc.
#52
Programming Help / Re: FET WITH JAVA
September 10, 2009, 06:32:08 AM
Hello,
 Can you tell me. In generate new menuitem. What is going on? And What is the processing of checking time table each and every slot means like day monday, tuesday, wednesday, thursday.. and same for time. 9-10, 10-11, 11-12... and so on.
 And can you tell me. How can I find the right method for this checking.

Please help.
#53
Programming Help / Re: FET WITH JAVA
September 09, 2009, 05:10:40 AM
Hello,
   I am trying to understand the code in generate.cpp file. But I couldn't. Can you tell me you have use some inline functions like this--->
inline void Generate::getTchTimetable(int tch, const QList<int>& conflActivities)
{
     for(int d2=0; d2<gt.rules.nDaysPerWeek; d2++)
           for(int h2=0; h2<gt.rules.nHoursPerDay; h2++){
                 int ai2=newTeachersTimetable[tch][d2][h2];
                 if(ai2>=0 && !conflActivities.contains(ai2))
                       tchTimetable[d2][h2]=ai2;
                 else
                       tchTimetable[d2][h2]=-1;
           }
           
     /*for(int dur=0; dur<act->duration; dur++){
           assert(tchTimetable[d][h+dur]==-1);
           tchTimetable[d][h+dur]=ai;
     }*/
}
You are calling this function from generate.h. but you didn't specify any variables within it. How it works..? Please help. It is really too much important for me.
Thanks in advance.
Manveer Singh
#54
Programming Help / Re: FET WITH JAVA
September 08, 2009, 10:13:09 AM
Thanks for your response.
      Can you help me to understand this algorithm. If I want to check and understand it's code. how could I. I don't know who is the main class.
     Please help.

Thanks in advance.
Manveer Singh
#55
Programming Help / FET WITH JAVA
September 05, 2009, 02:03:54 PM
Hello,
      I am really a newbie. Just want to know how to find the source code of FET. I have fet 5.0. I don't have generate.cpp. Please tell me little bit more about FET. Can i get current version of FET. How to find the source code of FET.
        And can I convert the FET algorithm into JAVA Code.

Thanks in advance.

Manveer Singh.