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

#31
Programming Help / Re: FET WITH JAVA
October 07, 2009, 05:32:53 AM
Yes,
 You have used teachersTimeTable. But in your program there should be atleast declaration of teachersTimeTable matrix as rows and column.
#32
Programming Help / Re: FET WITH JAVA
October 07, 2009, 05:07:21 AM
Okay !
   Actually I don't know about privacy law. Thanks for this. Can you tell me in TimeTableGenerateForm.cpp. You are going to generate time table of all activities. That means you are calling all functions of generate.cpp generatepre.cpp and solution.cpp. I don't want to use Thread, just want simple functions like start and stop with run. And also tell me about timeTableviewTeachersForm.cpp. Is it getting data from any input file that you have store some where, or getting data from other sources.
Please help.
#33
Programming Help / Re: FET WITH JAVA
October 06, 2009, 10:57:01 AM
Hello,
  I thought about this project. It is desktop application. If this will be web based then you will earn more than here. You know every school and colleges are want there scheduling online. They can see it anywhere. May be this is the problem of your fet project. If you can spend more time for any other projects please give some time to it and make it web based project. I really thought your financial status will grow.
  This is the online time table-->www.school-timetable.eu.
#34
Programming Help / Re: FET WITH JAVA
October 06, 2009, 10:06:04 AM
hello.
  Thanks for this. I want to make this scheduler in java. I want your help to making this code in java. Can you help in java. And please tell about QList<qint16> b[TEACHERS_FREE_PERIODS_N_CATEGORIES][MAX_DAYS_PER_WEEK][MAX_HOURS_PER_DAY]. In java there is no array declaration of list. please help.
I will thankful to you.
#35
Programming Help / Re: FET WITH JAVA
October 06, 2009, 08:47:08 AM
Hello,
 Can you help me a bit more. This code is so sophistacated. And there is lots of conditions that I can not understand properly. Did you made any other school scheduler in any other language. I think your c++ logics are so strong. Then why you don't go for java. And made this scheduler in java. Sorry for this sugestion. but I want a satisfactory answer.
Thanks a lot.
#36
Programming Help / Re: FET WITH JAVA
October 06, 2009, 08:27:08 AM
Hello,
Can you tell me in solution.cpp class you have used fitness parameterized function. Can you tell me from where are you calling and passing the values into this.

Please help.
#37
Programming Help / Re: FET WITH JAVA
October 06, 2009, 04:28:38 AM
Hello,
  I have seen rules.cpp. In this class you have used computeInternalStructure() which is computing teacherList.size(). Can you tell me from where are you getting the value of teacherList. similarly subjectList and subgroupList.
#38
Programming Help / Re: FET WITH JAVA
October 03, 2009, 04:38:28 AM
Thanks for this.
      Can you tell about how to set the schedule value in a table cell after generating the schedule. I want to set each schedule activity in table cell by using it's rows and column. And please also tell me that can I save the generate scheduled data into one another table. This is because, I don't want to generate schedule again and again.

Please help.
Thanks
#39
Programming Help / Re: FET WITH JAVA
October 02, 2009, 11:58:21 AM
Hello,
  Can I use database instead of xml file. Please help. And which files are important with database. There are lots of files.
#40
Programming Help / Re: FET WITH JAVA
October 02, 2009, 07:09:10 AM
Hello,
  Can you tell me how to set the value of level in randomswap(). in prevvalue function you are passing 0 by default. I want to increase the value of level as I defined.


Thanks in advance.
#41
Programming Help / Re: FET WITH JAVA
October 02, 2009, 06:30:55 AM
hello,
  Please tell me about this block: if(!skipRandom(notAllowedTimesPercentages[ai][newtime])){
                 nConflActivities[newtime]=MAX_ACTIVITIES;
                 continue;
           }
In this block when the skipRandom function is not true then it will go inside this block and then use continue; where the continue label send the control again at again_if_impossible_activity: label which execute it again and again. Am i right about this. And please tell me about #if 0 and #endif. In randomswap() function. Is it compulsory to use this. Please help.
Thanks
#42
Programming Help / Re: FET WITH JAVA
October 01, 2009, 10:24:09 AM
Hello,
  I am getting one problem in randomSwap() function. Some times it is quiting automatically without exiting the program. Can you tell me what is the reason of getting this problem. it is not showing any errors just quiting the program. And the what is the value of nHoursPerWeek. And You are using MAX_RETRIES_FOR_AN_ACTIVITY_AT_LEVEL_0 = 200000; Can i reduce this value. And Can I use another functions instead of goto statement. Please help.
#43
Programming Help / Re: FET WITH JAVA
October 01, 2009, 05:39:40 AM
Hello,
Can you explain why are you using permL[MAX_LEVEL][MAX_HOURS_PER_WEEK] and perm=permL[level], so perm has MAX_HOURS_PER_WEEK slots. How to do this I am really unable to understand this logic. Can you tell me reference of any web page for this tutorial. Or If you can help me then please explaint it. I don't want to use macro. please help it's really urgent.

Thanks a lot for your help.
#44
Programming Help / Re: FET WITH JAVA
September 26, 2009, 05:17:58 AM
Hello,
     Can you help me..Please See this logic....
again_if_impossible_activity:

     for(int i=0; i<gt.rules.nHoursPerWeek; i++)
           perm=i;
     for(int i=0; i<gt.rules.nHoursPerWeek; i++){
           int t=perm;
           int r=randomKnuth()%(gt.rules.nHoursPerWeek-i);
           perm=perm[i+r];
           perm[i+r]=t;
     }
You are using this logic. nhoursPerWeek means 60. When you are assigning this value to perm=i;
In which perm[] =new  Perm[31]; MAX_LEVEL. Then how could it possible to iterate i 60 times. It is giving me an error. ArrayIndexOutOfBound. Please tell me what to do. I will be thankful to you.

Thanks
Manveer
#45
Programming Help / Re: FET WITH JAVA
September 24, 2009, 08:38:57 AM
Hello,
  Please tell me one thing. In generate.cpp you are using void Generate::generate(int maxSeconds, bool& impossible, bool& timeExceeded, bool threaded) method in generate.cpp. Can you tell me from where you are passing these parameter in generate() function. And from where you are calling this function. Please tell. It's really urgent.

Manveer