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

Class PyConnectionDecisionPredicate

             object --+        
                      |        
            ??.instance --+    
                          |    
ConnectionDecisionPredicate --+
                              |
                             PyConnectionDecisionPredicate

Help on PyConnectionDecisionPredicate [class]: Interface for ConnectionDecisionPredicate which allows to implement ConnectionDecisionPredicate's directly in python

The reason why this class exists is a performance issue: If one would set up the python interface such that one could directly base python classes directly on ConnectionDecisionPredicate C++ classes based on ConnectionDecisionPredicate instatiated in python will have a lot of overhead when ConnectionDecisionPredicate::decide is called. Since this method is called in the inner loop of (virtual any) wiring algorithm this is not feasable.

Instance Methods [hide private]
 
__init__(...)
Raises an exception This class cannot be instantiated from Python
 
decide(...)
 
init(...)

Inherited from unreachable.instance: __new__

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

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

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Raises an exception This class cannot be instantiated from Python

Overrides: object.__init__
(inherited documentation)