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

Update YacsService.js #627

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update YacsService.js #627

wants to merge 1 commit into from

Conversation

jonathanadotey77
Copy link

Course filter function

This function takes the course list (should be the complete course list) and a filter array as an input. The filter array should be of size 5, where filter[i] is the forbidden times on day i. For example, CSCI 2300 (Fall) section 02 has 3 times, 2:00pm-3:50pm on Tuesday and Friday, and 12:00pm-1:50pm on Wednesday. So the filter array, if CSCI 2300 was selected, would be:

[ [], ["14:00:00", "15:50:00], ["12:00:00", "13:00:00], [], ["14:00:00", "15:50:00] ]

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

Successfully merging this pull request may close these issues.

1 participant