{"id":18982766,"url":"https://github.com/bezzad/makeclassschedule","last_synced_at":"2025-08-03T18:35:40.202Z","repository":{"id":92822036,"uuid":"43960518","full_name":"bezzad/MakeClassSchedule","owner":"bezzad","description":"Make university class schedule by Parallel Genetic Algorithm in C# WinForm","archived":false,"fork":false,"pushed_at":"2020-06-28T06:04:04.000Z","size":21440,"stargazers_count":35,"open_issues_count":0,"forks_count":15,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-01T11:43:20.126Z","etag":null,"topics":["genetic-algorithm","make-class-schedule","schedule","time-table-generator","timetable"],"latest_commit_sha":null,"homepage":"http://bezzad.github.io/MakeClassSchedule/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bezzad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-10-09T14:28:03.000Z","updated_at":"2024-08-02T12:57:18.000Z","dependencies_parsed_at":"2023-03-17T23:30:54.340Z","dependency_job_id":null,"html_url":"https://github.com/bezzad/MakeClassSchedule","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezzad%2FMakeClassSchedule","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezzad%2FMakeClassSchedule/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezzad%2FMakeClassSchedule/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezzad%2FMakeClassSchedule/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bezzad","download_url":"https://codeload.github.com/bezzad/MakeClassSchedule/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239987318,"owners_count":19729785,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["genetic-algorithm","make-class-schedule","schedule","time-table-generator","timetable"],"created_at":"2024-11-08T16:14:37.552Z","updated_at":"2025-02-21T09:25:49.517Z","avatar_url":"https://github.com/bezzad.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [![Make Class Schedule](https://raw.githubusercontent.com/Behzadkhosravifar/MakeClassSchedule/master/src/MakeClassSchedule/Resources/Help/MCS_Help/HelpHeader.png)][1]\n\n[1]: http://behzadkhosravifar.github.io/MakeClassSchedule/\n\n--------------------\n[![Build status](https://ci.appveyor.com/api/projects/status/4cjm8ir7bswf6nse?svg=true)](https://ci.appveyor.com/project/Behzadkhosravifar/makeclassschedule)\n\n# Make Class Schedule (Timetable generator) using Genetic Algorithms\n\nThank you for choosing Make Class Schedule ! \u003cbr/\u003e\nMake Class Schedule is one of those NP hard problems. The problem can be solved using a heuristic search algorithm to find the optimal solution, but it only works for simple cases. For more complex inputs and requirements, finding a considerably good solution can take a while, or it may be impossible. This is where genetic algorithms come in to the game. \u003cbr/\u003e\nIn this article, I assume that you are familiar with the basic concepts of genetic algorithms, and I won't describe them in detail because it has been done so many times before.\nWhen you make a class schedule, you must take into consideration many requirements (number of professors, students, classes and classrooms, size of classroom, laboratory equipment in classroom, and many others). These requirements can be divided into several groups by their importance. Hard requirements (if you break one of these, then the schedule is infeasible):\n\n* A class can be placed only in a spare classroom.\n* No professor or student group can have more then one class at a time.\n* A classroom must have enough seats to accommodate all students.\n* To place a class in a classroom, the classroom must have laboratory equipment (computers, in our case) if the class requires it.\n\nSome soft requirements (can be broken, but the schedule is still feasible):\n\n* Preferred time of class by professors.\n* Preferred classroom by professors.\n* Distribution (in time or space) of classes for student groups or professors.\n\nHard and soft requirements, of course, depend on the situation.\n\n\n**Algorithm**\n\nThe genetic algorithm is fairly simple. For each generation, it performs two basic operations:\n\n1. Randomly selects N pairs of parents from the current population and produces N new chromosomes by performing a crossover operation on the pair of parents.\n2. Randomly selects N chromosomes from the current population and replaces them with new ones. The algorithm doesn't select chromosomes for replacement if it is among the best chromosomes in the population.\n\nAnd, these two operations are repeated until the best chromosome reaches a fitness value equal to 1 (meaning that all classes in the schedule meet the requirement). As mentioned before, the genetic algorithm keeps track of the M best chromosomes in the population, and guarantees that they are not going to be replaced while they are among the best chromosomes.\n\nApplication main screen:\n\n[![MakeClassSchedule.jpg](https://raw.githubusercontent.com/Behzadkhosravifar/MakeClassSchedule/master/src/MakeClassSchedule/Resources/Help/MCS_Help/MakeClassSchedule.jpg)](https://github.com/Behzadkhosravifar/MakeClassSchedule/wiki/Welcome-to-the-Make-Class-Schedule)\n\n--------------------------------\n### For More Information\n\n### [Read Make Class Schedule WiKi](https://github.com/Behzadkhosravifar/MakeClassSchedule/wiki/Welcome-to-the-Make-Class-Schedule)\n\n--------------------------------\n### Feedback\n\nMake Class Schedule v1.0.0.0 programmed and designed by Mr. Behzad Khosravi Far.\nYou can obtain free support for Make Class Schedule. You may email any questions/suggestions to:\nBehzad.khosravifar@gmail.com\n \nFor contact use following Email: Behzadkh@Hotmail.com\n\n\n--------------------------\n### LICENSE INFORMATION      [![OSI-Approved-License-100x137.png](http://opensource.org/trademarks/opensource/OSI-Approved-License-100x137.png)](http://opensource.org/licenses/GPL-3.0.html)\n\nThis software is open source, licensed under the GNU General Public License, Version 3.0.\nSee [GPL-3.0](http://opensource.org/licenses/GPL-3.0.html) for details.\nThis Class Library creates a way of handling structured exception handling,\ninheriting from the Exception class gives us access to many method\nwe wouldn't otherwise have access to\n                  \nCopyright (C) 2015-2016 [Behzad Khosravifar](mailto:Behzad.Khosravifar@Gmail.com)\n\nThis program published by the Free Software Foundation,\neither version 1.0.1 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbezzad%2Fmakeclassschedule","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbezzad%2Fmakeclassschedule","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbezzad%2Fmakeclassschedule/lists"}