Table of Contents

Class: Monitor simpy-1.3\SimPy\Monitor.py
Methods   
__init__
__str__
accum
count
mean
reset
tally
timeAverage
var
  __init__ 
__init__ ( self,  name='' )

  __str__ 
__str__ ( self )

  accum 
accum (
        self,
        x,
        t=None,
        )

add xdt and x^2dt to the sums for the monitored variable

t is the current time

  count 
count ( self )

the number of observations made

  mean 
mean ( self )

the simple average of the monitored variable

  reset 
reset ( self,  t=None )

reset the sums and counts for the monitored variable

  tally 
tally ( self,  x )

add x, and x^2 to the sums for the monitored variable

  timeAverage 
timeAverage ( self,  t=None )

the time-average of the monitored variable.

If t is used it is assumed to be the current time, otherwise t = now()

  var 
var ( self )

the sample variance of the monitored variable


Table of Contents

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