From ae5823f486af88b8ad8d0dd3258d205a284e9833 Mon Sep 17 00:00:00 2001 From: pacien Date: Thu, 5 Apr 2018 04:09:15 +0200 Subject: Add random paginator --- myMemory.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'myMemory.py') diff --git a/myMemory.py b/myMemory.py index 6e1014a..f3da2a0 100755 --- a/myMemory.py +++ b/myMemory.py @@ -8,10 +8,13 @@ from pageexception import * from fifo import FifoPaginator from lru import LruPaginator from secondchance import SecondChancePaginator +from randomp import RandomPaginator + paginators = { 'fifo': FifoPaginator, 'lru': LruPaginator, - 'secondchance': SecondChancePaginator + 'secondchance': SecondChancePaginator, + 'random': RandomPaginator } -- cgit v1.2.3