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

Class EuclidianDistanceConnectionPredicate

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

Help on EuclidianDistanceConnectionPredicate [class]: Predicate for generating connections which a connection probability which depends on the spatial distance between SimObject's

The connection probability is C exp( -|px-py|^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 EuclidianDistanceConnectionPredicate::EuclidianDistanceConnectionPredicate(double C, double lambda) [constructor]
 
decide(...)

Inherited from ConnectionDecisionPredicateSpecialization_SpatialSimObjectPopulation_SpatialSimObjectPopulation: init

Inherited from unreachable.instance: __new__

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

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

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Help on EuclidianDistanceConnectionPredicate::EuclidianDistanceConnectionPredicate(double C, double lambda) [constructor]

Overrides: object.__init__

decide(...)

 
Overrides: ConnectionDecisionPredicateSpecialization_SpatialSimObjectPopulation_SpatialSimObjectPopulation.decide