Main Menu

FET WITH JAVA

Started by it.manveer.singh, September 05, 2009, 03:03:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Liviu Lalescu

Quotehello,
  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.

QList<int> assta[MAX_ACTIVITIES] means an array with dimension MAX_ACTIVITIES, where each value assta is a QList<int>. We have an array for each activity, with a list of same starting time activities. This is a C++ matter, you can find it in C++ documentation, probably.

it.manveer.singh

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.

Liviu Lalescu

QuoteHello,
  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.

TimeConstraint::computeInternalStructure is called from Rules::computeInternalStructure, for each constraint. TimeConstraint::isRelatedToTeacher is called from Teacher::getDetailedDescriptionWithConstraints, for each constraint. If constraint is related, the description of the teacher will have this constraint attached (in teachers dialog).

it.manveer.singh

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.

it.manveer.singh

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.

it.manveer.singh

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.

Liviu Lalescu

QuoteHello 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.

It is a C++ function, read about it on the internet

Liviu Lalescu

Quotehello,
  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.

I just read from the hard disk the constraint

it.manveer.singh

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.

Liviu Lalescu

QuoteAnd 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.

StudentsYear, S...Grou and S...Subgroup are subclasses of StudentsSet. They define like in FET - years, groups, subgroups. Solution is a class to keep a solution-> an array of times and rooms for each activity.

it.manveer.singh

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.

Liviu Lalescu

QuoteHello,  
 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.

interface/addactivityform.cpp

it.manveer.singh

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.

Liviu Lalescu

QuoteHello,
  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.

Yes, of course, that is the normal behavior (the behavior me and other users want).

it.manveer.singh

#104
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.