Skip to content

Commit

Permalink
Classes defined
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-axcient committed May 11, 2018
1 parent 9efdd3d commit a8412ee
Show file tree
Hide file tree
Showing 6 changed files with 316 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .idea/University-course-scheduling.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

253 changes: 253 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 31 additions & 0 deletions AI.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import pandas
print(pandas.__version__)
#get Instructors
#Instructors num
#Dic[I name]->ID
#get Courses
#Dic[C name]->ID
#get Classrooms
#Dic[Class name]->ID

# Defining infinity number
maxInfinity = 1000000


class Instructor:
def __init__(self, f_name):
self.instructorName = f_name
self.courseList = []


class Course:
def __init__(self, f_name, f_capacity=maxInfinity):
self.courseName = f_name
self.capacity = f_capacity


class Classroom:
def __init__(self, f_name, f_capacity=maxInfinity):
self.className = f_name
self.capacity = f_capacity

0 comments on commit a8412ee

Please sign in to comment.