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

#1
Programming Help / Re: FET WITH JAVA
October 16, 2009, 12:50:47 PM
Hello,
  I want to use this program in my web page, that's why I am asking for that. I can't use c++ program in web page. So this is the problem. I can't convert this code into java. I am getting many errors and the most one is memory problem like heap space with these arrays. I can't use this program as command line. If you can take a new challenge then please do it for me in java. That will use database connectivity. If you can then please help me.

#2
Programming Help / Re: FET WITH JAVA
October 16, 2009, 10:13:33 AM
hello,
Can you tell me one thing. I really need it I will donate for this particular, but with database connectivity. and in java without any xml file. And please please tell me one thing, this code can't convert into java. Because of memory allocation if you can made your algorithm in java with one suitable activity entry as Teacher-A, teachs-8th-a, english, with activities_preferred_starting_time on 8:00 Am on monday and then store this activity in database. Please help and give a suitable example. Thanks for helping me.
#3
Programming Help / Re: FET WITH JAVA
October 15, 2009, 02:09:58 PM
Hello,
  I am working on your fet gui version. There is a problem occurred during adding activities. When I am selecting multiple teachers, and multiple classes but not multiple subjects and activity tag. Then It shows me one message activity added. When I am generating time Table. It shows three teachers taking one class at same time.
#4
Programming Help / Re: FET WITH JAVA
October 15, 2009, 01:17:45 PM
Hello,  
 Can you please tell me, from where you are getting data for activity.(Which function is used for get data of one single activitiy). The Activity can be-> Act:T:John, s:Call, ST:PreInt, F/T, Id:13,d:1, A:yes. This is one complete activity. Can you tell me from where you are getting it. When are going to make one new time table, there is no input file of xml or .fet file. Please tell, Actually I dind't understand the getXmlDescription in Activity.cpp class. Please help.
#5
Programming Help / Re: FET WITH JAVA
October 15, 2009, 08:11:14 AM
And Please also tell about this question-->
Hello,
Can you please tell me about it ->class StudentsYear;
class StudentsGroup;
class StudentsSubgroup;

class Rules;. You have declare these classes in studentsSet.h. What does mean by these classes. You use class StudentsGroup. Please tell about solution.cpp. What will it do ? please explain a little bit more. I will thankful to you.
Thanks a lot for helping me.
#6
Programming Help / Re: FET WITH JAVA
October 15, 2009, 07:27:53 AM
Hello Man,
 Can you help me little bit more.  Can you tell me what is use of assert in c++. Please reply. I really want your help. Thanks a lot for helping me.
#7
Programming Help / Re: FET WITH JAVA
October 14, 2009, 08:55:53 AM
hello,
  You said you are using Teacher::getDetailsDescription(), reads the constraints, which is alloted to teacher. But You are also using Rules.cpp class with reading all constraints like this->TimeConstraint* Rules::readBasicCompulsoryTime(const QDomElement& elem3, QString& xmlReadingLog. Can you tell me, What is going in this function? Please help a bit more.
#8
Programming Help / Re: FET WITH JAVA
October 14, 2009, 05:54:42 AM
Hello,
 Can you please tell me about it ->class StudentsYear;
class StudentsGroup;
class StudentsSubgroup;

class Rules;. You have declare these classes in studentsSet.h. What does mean by these classes. You use class StudentsGroup. Please tell about solution.cpp. What will it do ? please explain a little bit more. I will thankful to you.
Thanks a lot for helping me.
#9
Programming Help / Re: FET WITH JAVA
October 13, 2009, 02:47:11 PM
Hello,
  Can you please help a bit more. In TimeConstraints.cpp, You are using every class with thier methods. like computeInternalStructure(rules r), and isRelatedToTeacher(Teacher t), Where Teacher is one seperate class. Can you tell me from where you are calling these methods to pass values in thier arguments? please help.
#10
Programming Help / Re: FET WITH JAVA
October 13, 2009, 05:34:23 AM
hello,
  I have read QList but don't understand QList<int> activitiesSameStartingTimeActivities[MAX_ACTIVITIES];. Please tell about it. In java When we declare List, we use List<Integer> activitiesSameStartingTimeActivities = new List<Integer>(MAX_ACTIVITIES);. Can you explain it a little bit more. I really thankful to you.
#11
Programming Help / Re: FET WITH JAVA
October 12, 2009, 12:27:12 PM
Hello,
 Please can you explain it->
for(int j=0; j<sst._n_activities; j++){
                       int ai1=sst._activities[j];
                       for(int k=0; k<sst._n_activities; k++){
                             int ai2=sst._activities[k];
                             if(ai1!=ai2){
                                   int t=activitiesSameStartingTimeActivities[ai1].indexOf(ai2);
                                   double perc=-1;
                                   if(t!=-1){
                                         perc=activitiesSameStartingTimePercentages[ai1].at(t);
                                         assert(perc>=0 && perc<=100);
                                   }

                                   if(t==-1 /*|| perc<sst.weightPercentage*/){
                                         activitiesSameStartingTimeActivities[ai1].append(ai2);
                                         activitiesSameStartingTimePercentages[ai1].append(sst.weightPercentage);

                                         assert(activitiesSameStartingTimeActivities[ai1].count()==activitiesSameStartingTimePercentages[ai1].count());
                                   }
                                   else if(t>=0 && perc<sst.weightPercentage){
                                         activitiesSameStartingTimePercentages[ai1][t]=sst.weightPercentage;
                                   }
                             }
                       }
                 }
Is it right, the above highlighted lines shows appending new object into this list at specified position or some thing else.
Please help.
#12
Programming Help / Re: FET WITH JAVA
October 12, 2009, 10:43:51 AM
      for(int j=0; j<gt.rules.nInternalActivities; j++){
           minNDaysListOfActivities[j].clear();
           minNDaysListOfMinDays[j].clear();
           minNDaysListOfConsecutiveIfSameDay[j].clear();
           minNDaysListOfWeightPercentages[j].clear();
     }
Hello,
  Can you tell me this is List. And you are using this minNDaysListOfActivities list as array. How can i use it. I have simple List now list Array. Can I use it like  it:
minNDaysListOfActivities.get(j);
minNDaysListOfActivities.clear();
#13
Programming Help / Re: FET WITH JAVA
October 12, 2009, 08:17:52 AM
ok,
 Let me know about timeConstraints.cpp. What is the main moto of this class.?(what is the use of timeconstraints.cpp & spaceConstraints.cpp).
#14
Programming Help / Re: FET WITH JAVA
October 12, 2009, 07:18:11 AM
Hello,
 Yes it is reading data from disk or user inputted file. But this is not for time table. We have to generate first time table, which shows the output from this raw data to well formed time table data. Am I right.?

#15
Programming Help / Re: FET WITH JAVA
October 12, 2009, 06:34:14 AM
Hello,
 Can you please tell me what is going on timeConstraints.cpp and SpaceConstraints.cpp. I thought, in every constraint class you are getting data from xml file but which data. Is is raw material of timeTable or it is generated time table data. Please help a bit more.

Thanks a lot liviu for your precious time.