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

#16
Programming Help / Re: FET WITH JAVA
October 12, 2009, 05:31:47 AM
No,
 No, It is totally different. I don't know who is the author of this web based project. I found it on surfing on web. It want to develop my own with your help with gpl. So please don't think about this.
#17
Programming Help / Re: FET WITH JAVA
October 10, 2009, 06:32:07 AM
hello,
Can you please tell me ConstraintActivitiesNotOverlapping::ConstraintActivitiesNotOverlapping(double wp, int nact, const int act[])
: TimeConstraint(wp)
{
       assert(nact>=2 && nact<=MAX_CONSTRAINT_ACTIVITIES_NOT_OVERLAPPING);
     this->n_activities=nact;
     for(int i=0; i<nact; i++)
           this->activitiesId=act;

     this->type=CONSTRAINT_ACTIVITIES_NOT_OVERLAPPING;
}
From where you are calling this above highlighted method. It is declare in timeconstraints.h class. you have use variables of this ConstraintActivitiesNotOverlapping class in generate_pre.cpp. so please help a bit more.
Thanks
#18
Programming Help / Re: FET WITH JAVA
October 10, 2009, 04:26:52 AM
Hello Volker Dirr,
   I mean to say that can I change this code in java under gpl. Can you tell me "i checked your demo page". Can you explain it.
#19
Programming Help / Re: FET WITH JAVA
October 09, 2009, 11:40:31 AM
No,  
  It is usual code. But difficult to understand for each and every developer may be.
 That's why I called it is typical.

#20
Programming Help / Re: FET WITH JAVA
October 09, 2009, 07:02:16 AM
hello,
 Can you tell me one thing are you using fitness(ruels..) method in solution.cpp with fitness in timeConstraints and fitness with spaceConstraints. Where are you calling this methods in fet.cpp or fetmainform.cpp.
Please help.
#21
Programming Help / Re: FET WITH JAVA
October 09, 2009, 04:53:45 AM
Hello,
 I have read this documentation provided by FET.  I will careful for it. But just asking about this algorithm. Because your code is really so typical. No one can understand it very easily. So please don't worry about it.
#22
Programming Help / Re: FET WITH JAVA
October 08, 2009, 03:02:05 PM
hello,
  Please can you tell me the flow of this FET program. I am in fet.cpp file. Please help me. I will thankful to you.
#23
Programming Help / Re: FET WITH JAVA
October 08, 2009, 08:51:25 AM
Thank you,
  Please tell me, what is going on these lines:
if(ai!=UNALLOCATED_ACTIVITY){
                             //Activity* act=gt.rules.activitiesList.at(ai);
                             Activity* act=&gt.rules.internalActivitiesList[ai];
                             for(QStringList::Iterator it=act->teachersNames.begin(); it!=act->teachersNames.end(); it++)
                                   tos<<" <Teacher name=\""<<protect(*it)<<"\"></Teacher>";
                             tos<<"<Subject name=\""<<protect(act->subjectName)<<"\"></Subject>";
                             foreach(QString atn, act->activityTagsNames)
                                   tos<<"<Activity_Tag name=\""<<protect(atn)<<"\"></Activity_Tag>";

                             int r=best_solution.rooms[ai];
                             if(r!=UNALLOCATED_SPACE && r!=UNSPECIFIED_ROOM){
                                   tos<<"<Room name=\""<<protect(gt.rules.internalRoomsList[r]->name)<<"\"></Room>";
                             }
                       }
In this code. What does the mean of QStringList. Is is simple QList or List or String. And please tell me about this for loop. Please help.

Thanks in advance.
Manveer
#24
Programming Help / Re: FET WITH JAVA
October 08, 2009, 05:51:23 AM
hello,
  Please help, What is going in this code.for(int i=0; i<gt.rules.subjectsList.size(); i++){
           hashSubjectIDsTimetable.insert(gt.rules.subjectsList->name, QString::number(i+1));
     }
     hashActivityTagIDsTimetable.clear();
     for(int i=0; i<gt.rules.activityTagsList.size(); i++){
           hashActivityTagIDsTimetable.insert(gt.rules.activityTagsList->name, QString::number(i+1));
     }
     hashTeacherIDsTimetable.clear();
     for(int i=0; i<gt.rules.nInternalTeachers; i++){
           hashTeacherIDsTimetable.insert(gt.rules.internalTeachersList->name, QString::number(i+1));
     }
     hashRoomIDsTimetable.clear();
     for(int room=0; room<gt.rules.nInternalRooms; room++){
           hashRoomIDsTimetable.insert(gt.rules.internalRoomsList[room]->name, QString::number(room+1));
     }
     hashDayIDsTimetable.clear();
     for(int k=0; k<gt.rules.nDaysPerWeek; k++){
           hashDayIDsTimetable.insert(gt.rules.daysOfTheWeek[k], QString::number(k+1));
     }

In this code you have use loop. means that you are getting data from solution.cpp class. And the subjectsList constains all subjects. and then we get all subjects name.  Am I right ?
Please tell.
#25
Programming Help / Re: FET WITH JAVA
October 07, 2009, 11:40:36 AM
Can you tell me,
 How to save generate time table data into database. That data comes from solution.cpp. I don't want to use xml file to save time table data.
#26
Programming Help / Re: FET WITH JAVA
October 07, 2009, 11:26:15 AM
Hello,
  You said you are saving your data into timetableexport.cpp, function TimetableExport::writeSimulationResults(). But you are getting with data from solution.cpp class. In all operation you never used generatePre.cpp. but only one function from generate.cpp generate(INF, maxsecond, timeexceeded, threaded). Please explain it.
#27
Programming Help / Re: FET WITH JAVA
October 07, 2009, 09:32:58 AM
Yes it is.
  But You are saving this timetable anywhere may be in directory or any xml file. If yes please tell.

Thanks
Manveer
#28
Programming Help / Re: FET WITH JAVA
October 07, 2009, 08:12:40 AM
hello,
 Can you please tell one thing after clicking on generate new label in fet main form, which will generate the timetable. May be it can be teachersTimeTable, SubjectTimeTable, and roomTimetable. During this execution, is the fet storing or saving this generated data in any files.
please help. Then when we are using timeTableViewTeacherForm.cpp to display the data into table, we are getting data from there.
Please help.
#29
Programming Help / Re: FET WITH JAVA
October 07, 2009, 07:04:47 AM
hello,
Please tell about detailActivity(teachersTimetableTable->currentRow(), teachersTimetableTable->currentColumn()); in timetableviewteachersform.cpp. Just tell teachersTimeTableTable->currentRow(), from where are you getting ?
In teachers_timetable_weekly is not working in this function.
#30
Programming Help / Re: FET WITH JAVA
October 07, 2009, 06:56:13 AM
Hello,
The timeTableGenerateForm.cpp is generating time table means. Is it setting each rows and column of matrix with respective data. Data means teachersTimeTable, subjectTimeTable, RoomsTimeTable, SectionTimeTable etc.
 Is timetablegenerateForm.cpp main part of fet. why we use timetablegeneratemultipleform. cpp. Please help.