Beispiel #1
0
 def __init__(self, name, tl):
     Node.__init__(self, name, tl)
     self.memory_array = MemoryArray(name + ".MemoryArray",
                                     tl,
                                     num_memories=50)
     self.memory_array.owner = self
     self.resource_manager = ResourceManager(self)
Beispiel #2
0
 def __init__(self, name, tl):
     Node.__init__(self, name, tl)
     self.memory_array = MemoryArray(name + ".MemoryArray", tl)
     self.resource_manager = ResourceManager(self)
     self.send_log = []
 def __init__(self, name, tl, **kwargs):
     Node.__init__(self, name, tl)
     self.msg_log = []
     self.resource_manager = FakeResourceManager(self)
Beispiel #4
0
 def __init__(self, name, tl):
     Node.__init__(self, name, tl)
     self.log = []
Beispiel #5
0
 def __init__(self, name, tl, **kwargs):
     Node.__init__(self, name, tl, **kwargs)
     self.msgs = []
 def __init__(self, name, tl, ls):
     Node.__init__(self, name, tl)
     self.lightsource = ls
     self.lightsource.owner = self