Skip to content

Commit

Permalink
Added Screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
saaifali committed Nov 6, 2017
1 parent 23694e0 commit c3cc2bb
Show file tree
Hide file tree
Showing 23 changed files with 7 additions and 7 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added Screenshots/input.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screenshots/output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screenshots/startup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added multichannel/__pycache__/__init__.cpython-36.pyc
Binary file not shown.
Binary file added multichannel/__pycache__/admin.cpython-36.pyc
Binary file not shown.
Binary file added multichannel/__pycache__/models.cpython-36.pyc
Binary file not shown.
Binary file added multichannel/__pycache__/views.cpython-36.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added multichannel/core/__pycache__/test.cpython-36.pyc
Binary file not shown.
Binary file modified multichannel/core/customer.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion multichannel/core/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from simulation import *
from .simulation import *
from test import *

def main():
Expand Down
2 changes: 1 addition & 1 deletion multichannel/core/simulation.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from customer import Customer
from .customer import Customer
import random


Expand Down
Binary file modified multichannel/core/simulation.pyc
Binary file not shown.
6 changes: 3 additions & 3 deletions multichannel/core/test.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
from copy import deepcopy

def test(lili):
print "no.\t|\tInterArrivalTime\t|\tArrivalTime\t|\tAbleAvailable\t|\tBakerAvailable\t|\tServer\t|\tServiceTime\t|\tBegin\t|\tAbleEnd\t|\tBakerEnd\t|\tDelay\t|\tTimeInSYstem"
print ("no.\t|\tInterArrivalTime\t|\tArrivalTime\t|\tAbleAvailable\t|\tBakerAvailable\t|\tServer\t|\tServiceTime\t|\tBegin\t|\tAbleEnd\t|\tBakerEnd\t|\tDelay\t|\tTimeInSYstem")
for i in range(len(lili)):
k = lili[i]
print str(i) + "\t|\t\t" + str(k.inter_arrival_time) + "\t\t\t\t|\t\t" + str(k.arrival_time) + "\t\t|\t\t" + str(
print (str(i) + "\t|\t\t" + str(k.inter_arrival_time) + "\t\t\t\t|\t\t" + str(k.arrival_time) + "\t\t|\t\t" + str(
k.when_able_available) + "\t\t\t|\t\t" + str(k.when_baker_available) + "\t\t\t|\t\t" + str(k.server) + "\t|\t\t" + str(
k.service_time) + "\t\t|\t\t" + str(k.service_begin_time) + "\t|\t\t" + str(
k.able_service_end_time) + "\t|\t\t" + str(k.baker_service_end_time) + "\t\t|\t\t" + str(
k.delay) + "\t|\t\t" + str(k.time_in_system) + "\t\t|"
k.delay) + "\t|\t\t" + str(k.time_in_system) + "\t\t|")

allData = []
for i in range(len(lili)):
Expand Down
Binary file modified multichannel/core/test.pyc
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions multichannel/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
from __future__ import unicode_literals
from django.shortcuts import render, redirect
from django.views.generic import TemplateView
from core.simulation import customerListGenerator
from core.test import test
from .core.simulation import customerListGenerator
from .core.test import test
# Create your views here.


Expand Down

0 comments on commit c3cc2bb

Please sign in to comment.