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

Class LateralEuclidianDistanceConnectionPredicate

                                                                             object --+                
                                                                                      |                
                                                                            ??.instance --+            
                                                                                          |            
                                                                ConnectionDecisionPredicate --+        
                                                                                              |        
ConnectionDecisionPredicateSpecialization_SpatialSimObjectPopulation_SpatialSimObjectPopulation --+    
                                                                                                  |    
                                                                 SpatialConnectionDecisionPredicate --+
                                                                                                      |
                                                                                                     LateralEuclidianDistanceConnectionPredicate

Help on LateralEuclidianDistanceConnectionPredicate [class]: Predicate for generating connections which a connection probability which depends on the lateral distance between SimObjects

The connection probability is C exp( -|px-py|^2 2 lambda^2 ) where |px-py| is the Euclidian distance between the SimObject's locations px and py. Self connections are not made.

Instance Methods [hide private]
 
__init__(...)
Help on LateralEuclidianDistanceConnectionPredicate::LateralEuclidianDistanceConnectionPredicate(double C, double lambd, bool toroid=false, double toroid_off=0.0, double src_scale=1.0e+0, double dst_scale=1.0e+0, double src_center_x=0.0, double src_center_y=0.0, double dst_center_x=0.0, double dst_center_y=0.0, double src_shape_x=1.0e+0, double src_shape_y=1.0e+0, double dst_shape_x=1.0e+0, double dst_shape_y=1.0e+0) [constructor]
 
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__ = 208
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Help on LateralEuclidianDistanceConnectionPredicate::LateralEuclidianDistanceConnectionPredicate(double C, double lambd, bool toroid=false, double toroid_off=0.0, double src_scale=1.0e+0, double dst_scale=1.0e+0, double src_center_x=0.0, double src_center_y=0.0, double dst_center_x=0.0, double dst_center_y=0.0, double src_shape_x=1.0e+0, double src_shape_y=1.0e+0, double dst_shape_x=1.0e+0, double dst_shape_y=1.0e+0) [constructor]

Overrides: object.__init__

decide(...)

 
Overrides: ConnectionDecisionPredicateSpecialization_SpatialSimObjectPopulation_SpatialSimObjectPopulation.decide

init(...)

 
Overrides: ConnectionDecisionPredicateSpecialization_SpatialSimObjectPopulation_SpatialSimObjectPopulation.init