Module pypcsim :: Class ConstantNumber
[hide private]
[frames] | no frames]

Class ConstantNumber

    object --+        
             |        
   ??.instance --+    
                 |    
RandomDistribution --+
                     |
                    ConstantNumber

Help on ConstantNumber [class]: A "distribution" which always returns a specified value

Instance Methods [hide private]
 
__init__(...)
Help on ConstantNumber::ConstantNumber(double c=1) [constructor]
 
clone(...)
Help on RandomDistribution * RandomDistribution::clone() const [member function]
 
get(...)

Inherited from RandomDistribution: __call__

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  __instance_size__ = 24
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Help on ConstantNumber::ConstantNumber(double c=1) [constructor]

Overrides: object.__init__

clone(...)

 

Help on RandomDistribution * RandomDistribution::clone() const [member function]

Overrides: RandomDistribution.clone
(inherited documentation)