sukrutrao / Timetabler

A customizable timetabling software for educational institutions that encodes timetabling constraints as a SAT formula and solves them using a MaxSAT solver
https://timetabler.readthedocs.io
MIT License
38 stars 9 forks source link

What is segments in Fields.yml . #3

Closed Siddiq200 closed 6 years ago

Siddiq200 commented 6 years ago

Please, Add a little description, what are Segments ? What is the use of segments ?

prateekkumarweb commented 6 years ago

@Siddiq200 This software is specifically designed for IIT Hyderabad. IIT Hyderabad follows fractal academics. Each semester is divided into some number of segments. In fields.yml, you specify the start and end index of the segments.

At IIT Hyderabad, we have 6 segments, hence the configuration is

segments:
  start: 1
  end: 6
Siddiq200 commented 6 years ago

but In an input example file"testinput.csv" name,class_size,instructor,segment,is_minor,CS14B,CS15B,CS16B,CS17B,CS15M,CS16M,CS17M,PHD,classroom,slot CS3550,40,Manohar Kaul,56,No,No,Core,No,No,No,No,No,No,, CS6250,40,Ramakrishna Upadrasta,16,No,Elective,No,No,No,No,Elective,Elective,Elective,,A

value of segment is like 56 and 16. I want to modify the Project according to "The University of Lahore". That is why I am trying to understand deeply.

Please Help!

prateekkumarweb commented 6 years ago

@Siddiq200 The value 56 means that a course starts at 5th segment of the semester and ends at 6th segment. Similarly, 16 means the course started at 1st segment and ends at 6th segment.