Open beereshg opened 9 years ago
Sir, i have written comment lines in each of those classes. please ask for any other clarification, i will be obliged to clarify. Thank you
On Mon, Jan 19, 2015 at 8:17 PM, beereshg notifications@github.com wrote:
Thejas,
Please write a small writeup about what following class represent and it's roles.
sec.java: subject.java: Table.java: teacher.java: tt.java: ttble.java:
— Reply to this email directly or view it on GitHub https://github.com/ThejasD/timetable/issues/1.
Upload the modification, currently the code is not readable to others except author. Lets first make it more readable and maintable, then we can focus improvising the algorithm
Sir, The class files that I have sent previously have been documented. At the beginning a general note has been written on what the class does and then important lines of code have been explained. Do you need me to make any more additions ?
On Tue, Jan 20, 2015 at 10:13 AM, beereshg notifications@github.com wrote:
Upload the modification, currently the code is not readable to others except author. Lets first make it more readable and maintable, then we can focus improvising the algorithm
— Reply to this email directly or view it on GitHub https://github.com/ThejasD/timetable/issues/1#issuecomment-70603997.
Can you please checkout this link: https://github.com/ThejasD/timetable/tree/testing I have created based on the same report. I hope this will help in understanding about code readability.
Sir, Test the code you have sent with the following input.
Timetable is 2x2 i.e 2 days a week and 2 periods a day there are 2 sections A and B 3 teachers t1 t2 and t3
for section A t1 handles 1 hour per week t2 2 hours t3 1 hour
for section B t1 2 hours t2 1 hour t3 1 hour
On Tue, Jan 20, 2015 at 11:44 PM, beereshg notifications@github.com wrote:
Can you please checkout this link: https://github.com/ThejasD/timetable/tree/testing I have created based on the same report. I hope this will help in understanding about code readability.
— Reply to this email directly or view it on GitHub https://github.com/ThejasD/timetable/issues/1#issuecomment-70703191.
If we are going by your algorithm
Section A Section B
1 2 2 1
2 3 1 -
cannot assign 3 at (1,1) hence allocation will not be complete.
but Section A Section B 1 2 3 1 2 3 1 2
is a possible allocation which we cannot get from that algorithm
schema txt document has been attached along with snapshots of tables
On Thu, Jan 22, 2015 at 7:28 PM, beereshg notifications@github.com wrote:
Assigned #1 https://github.com/ThejasD/timetable/issues/1 to @ThejasD https://github.com/ThejasD.
— Reply to this email directly or view it on GitHub https://github.com/ThejasD/timetable/issues/1#event-223018198.
create table faculty(fac_no int primary key,fac_name varchar(20)); //A universal table for all faculty containing each faculties number and name.
create table subject(sub_no int primary key,sub_name varchar(20)); //A universal table for all subjects containing each subjects number and name
create table section#(sub_no int ,fac_no int,no_of_hrs int, foreign key(sub_no) references subject(sub_no), foreign key(fac_no) references subject(fac_no)); //A table particular to each section containing subjects associated with that section //and faculty assigned to the corresponding subject with minimum no_of_hrs of that subject //to be held every week.
Thejas,
Please write a small writeup about what following class represent and it's roles.
sec.java: subject.java: Table.java: teacher.java: tt.java: ttble.java: