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

Class SphereConnectionPredicate

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

Help on SphereConnectionPredicate [class]: Predicate for connections within a sphere with given radius

Only connects SimObject's whos locations in space px and py are closer than the given radius. No self connections are made.

Instance Methods [hide private]
 
__init__(...)
Help on SphereConnectionPredicate::SphereConnectionPredicate(double radius) [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__ = 32
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Help on SphereConnectionPredicate::SphereConnectionPredicate(double radius) [constructor]

Overrides: object.__init__

decide(...)

 
Overrides: ConnectionDecisionPredicateSpecialization_SpatialSimObjectPopulation_SpatialSimObjectPopulation.decide