Package SimPy :: Module SimulationStep :: Class Histogram |
[hide private]
[frames] | no frames]

# Class Histogram

source code

    object --+
             |
          list --+
                 |
                Histogram

A histogram gathering and sampling class

Instance Methods | [hide private]
`` | __init__(self, name='', low=0.0, high=100.0, nbins=10) x.__init__(...) initializes x; see x.__class__.__doc__ for signature
`` | addIn(self, y) add a value into the correct bin
`` | __str__(self) str(x)
Inherited from `list`: `__add__`, `__contains__`, `__delitem__`, `__delslice__`, `__eq__`, `__ge__`, `__getattribute__`, `__getitem__`, `__getslice__`, `__gt__`, `__hash__`, `__iadd__`, `__imul__`, `__iter__`, `__le__`, `__len__`, `__lt__`, `__mul__`, `__ne__`, `__new__`, `__repr__`, `__rmul__`, `__setitem__`, `__setslice__`, `append`, `count`, `extend`, `index`, `insert`, `pop`, `remove`, `reverse`, `sort` Inherited from `object`: `__delattr__`, `__reduce__`, `__reduce_ex__`, `__setattr__`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, name='', low=0.0, high=100.0, nbins=10) (Constructor) | source code
x.__init__(...) initializes x; see x.__class__.__doc__ for signature Overrides: list.__init__ (inherited documentation)

### addIn(self, y) | source code
add a value into the correct bin

### __str__(self) (Informal representation operator) | source code
str(x) Overrides: object.__str__ (inherited documentation)