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

Class RandomConnections

    object --+        
             |        
   ??.instance --+    
                 |    
ConnectionIterator --+
                     |
                    RandomConnections

Help on RandomConnections [class]: Fast implementation of pure random connections with a given connection probability

The implementation uses the fact that the differences of indices follow a geometric distribution with parameter 1 - conn_prob

Instance Methods [hide private]
 
__init__(...)
Help on RandomConnections::RandomConnections(double const conn_prob) [constructor]

Inherited from unreachable.instance: __new__

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

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

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Help on RandomConnections::RandomConnections(double const conn_prob) [constructor]

Overrides: object.__init__