diff --git a/docs/cpu_scheduling.html b/docs/cpu_scheduling.html index a6668c9..6079db5 100644 --- a/docs/cpu_scheduling.html +++ b/docs/cpu_scheduling.html @@ -20,7 +20,11 @@
from sys import maxsize
+ '''
+This file contains the implementation of CPU Scheduling algorithms
+'''
+
+from sys import maxsize
from operator import itemgetter
import Queue
from copy import deepcopy
diff --git a/docs/cpu_screens.html b/docs/cpu_screens.html
index 2e2974b..9bab805 100644
--- a/docs/cpu_screens.html
+++ b/docs/cpu_screens.html
@@ -17,10 +17,25 @@
+
+
'''
+This file contains the classes, functions and globals used for visualizing
+CPU Scheduling algorithms
+'''
Kivy libraries
from kivy.core.window import Window
+ from kivy.core.window import Window
from kivy.graphics import Color, Rectangle
from kivy.properties import ObjectProperty, NumericProperty
from kivy.uix.scrollview import ScrollView
@@ -36,10 +51,10 @@
import copy
'''
+This file contains the implementation of Deadlock Detection and Avoidance algorithms
+'''
+
+import copy
'''
+This file contains the classes, functions and globals used for visualizing
+Deadlock Avoidance algorithms
+'''
Kivy libraries
from kivy.properties import ObjectProperty
+ from kivy.properties import ObjectProperty
from kivy.uix.scrollview import ScrollView
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.gridlayout import GridLayout
@@ -31,10 +46,10 @@
'''
+This file contains the classes, functions and globals used for visualizing
+Deadlock Detection algorithms
+'''
Kivy libraries
from kivy.properties import ObjectProperty
+ from kivy.properties import ObjectProperty
from kivy.uix.scrollview import ScrollView
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.gridlayout import GridLayout
@@ -31,10 +46,10 @@
from sys import maxint
+ '''
+This file contains the implementation of Disk Scheduling algorithms
+'''
+
+from sys import maxint
from random import choice
'''
+This file contains the classes, functions and globals used for visualizing
+Disk Scheduling algorithms
+'''
Kivy libraries
from kivy.core.window import Window
+ from kivy.core.window import Window
from kivy.graphics import Color, Line
from kivy.properties import ObjectProperty, NumericProperty
from kivy.uix.scrollview import ScrollView
@@ -35,10 +50,10 @@
'''
+This file defines the Kivy app and loads the screens and their layouts
+'''
Kivy libraries
from kivy.app import App
+ from kivy.app import App
from kivy.lang import Builder
from kivy.core.window import Window
from kivy.uix.screenmanager import ScreenManager, Screen
@@ -28,10 +42,10 @@
from operator import itemgetter
+ '''
+This file contains the implementation of Memory Allocation strategies
+'''
+
+from operator import itemgetter
from copy import deepcopy
'''
+This file contains the classes, functions and globals used for visualizing
+Contiguous Memory Allocation Strategios
+'''
Kivy libraries
from kivy.core.window import Window
+ from kivy.core.window import Window
from kivy.graphics import Color, Rectangle
from kivy.properties import ObjectProperty, NumericProperty
from kivy.uix.scrollview import ScrollView
@@ -34,10 +49,10 @@
from copy import deepcopy
+ '''
+This file contains the implementation of Page Replacement algorithms
+'''
+
+from copy import deepcopy
from sys import maxint
from random import randint
'''
+This file contains the classes, functions and globals used for visualizing
+Page Replacement algorithms
+'''
Kivy libraries
from kivy.core.window import Window
+ from kivy.core.window import Window
from kivy.properties import ObjectProperty, NumericProperty
from kivy.uix.scrollview import ScrollView
from kivy.uix.boxlayout import BoxLayout
@@ -32,10 +47,10 @@