Module: jacksonnetwork

Table of Contents

Module: jacksonnetwork | simpy1_4_2\SimPyModels\jacksonnetwork.py
--- | ---
Imported modules |
--- | ---
from SimPy.Simulation import * from __future__ import generators from random import Random, expovariate, uniform import unittest
Functions |
choose1d choose2d choose2dA sum
| choose1d
    choose1d ( P,  g )
return a random choice from a set j = 0..n-1 with probs held in list P[j] g = random variable call: next = choose1d(P,g)
| choose2d
    choose2d (
            i,
            P,
            g,
            )
return a random choice from a set j = 0..n-1 with probs held in list of lists P[j] (n by n) using row i g = random variable call: next = choose2d(i,P,g)
| choose2dA
    choose2dA (
            i,
            P,
            g,
            )
return a random choice from a set j = 0..n-1 with probs held in list of lists P[j] (n by n) using row i g = random variable call: next = choose2d(i,P,g)
| sum
    sum ( P )
Sum of the real vector P
Classes |
Generator | generates a sequence of msgs
Msg | a message

Table of Contents

This document was automatically generated on Sat May 22 12:08:33 2004 by HappyDoc version 2.1