Esempio n. 1
0
 def __init__(self):
     self._nodes = [None] * TOSSIM_MAX_NODES
     self._links = {}
     self.model = BasicLinkModel()
Esempio n. 2
0
 def __init__(self, *opts, **kws):
     _Manager.__init__(self, *opts, **kws)
     # of type TopoNode, index is ID
     self.model = BasicLinkModel()
     self.block_reenter = False
     self.dynamic = True