Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not an issue but a question! #1

Open
Suzanne-O opened this issue Sep 1, 2019 · 3 comments
Open

Not an issue but a question! #1

Suzanne-O opened this issue Sep 1, 2019 · 3 comments
Assignees

Comments

@Suzanne-O
Copy link

Hi, I was wondering how I could adapt your code for a different schedule than the 12 hour day - really stuck. Any help would be appreciated!

@NDresevic NDresevic self-assigned this Oct 31, 2019
@NDresevic
Copy link
Owner

Hi @Suzanne-O, sorry for the delay in my response, I didn't receive notification for the issue.

You can change the 12 hour schedule by changing the dimensions (only the rows, if you are fine with number of classrooms) of the timetable matrix. The number of rows in the matrix represents all possible times the classes can be held. Currently, my code is working for 12 hours per day, 5 days a week, that means that there is 12*5=60 rows in the matrix. Therefore, the number of rows should represent the total number of all possible different times.

The change should be done upon matrix initialization -> https://github.com/NDresevic/timetable-generator/blob/master/utils.py#L96, you would also need to change when classes overlap, like here -> https://github.com/NDresevic/timetable-generator/blob/master/scheduler.py#L26. But, it also depends on your input data.

Let me know how it goes, and feel free to ask more questions.

@fatocan83
Copy link

Hello
I want to refer your study in my thesis. Is there an article or conference paper about this study? Or just refer this study in github?

@Suzanne-O
Copy link
Author

Hello
I want to refer your study in my thesis. Is there an article or conference paper about this study? Or just refer this study in github?

Hi, I didn't end up using your code. Sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants