Table of Contents

Module: bank11 simpy-1.3\SimPyDocs\Bank\programs\bank11.py

bank11.py: Simulate customers arriving at random, using a Source, requesting service from two counters each with their own queue random servicetime. Uses a Monitor object to record waiting times

Imported modules   
from SimPy.Monitor import *
from SimPy.Simulation import *
from __future__ import generators
from random import Random
Functions   
NoInSystem
model
  NoInSystem 
NoInSystem ( R )

The number of customers in the resource R in waitQ and active Q

  model 
model ( counterseed=3939393 )

Classes   

Customer

Customer arrives, is served and leaves

Source

Source generates customers randomly


Table of Contents

This document was automatically generated on Sun Jun 22 11:12:00 2003 by HappyDoc version 2.1