Example #1
0
 def __init__(self, location, address=None):
     NODE.__init__(self, location, address = address)
     self.neighbours = {}
     self.routes = {}
     self.spcost = {}
     self.routes[self.address] = 'self'
     self.spcost[self.address] = 0
Example #2
0
 def __init__(self, location, address=None):
     NODE.__init__(self, location, address=address)
     self.neighbours = {}
     self.routes = {}
     self.spcost = {}
     self.routes[self.address] = 'self'
     self.spcost[self.address] = 0
Example #3
0
 def __init__(self):
     Node.__init__(self)
Example #4
0
 def __init__(self, execute_fn):
     Node.__init__(self)
     self.execute_fn = execute_fn
Example #5
0
 def __init__(self):
     Node.__init__(self)
Example #6
0
 def __init__(self, execute_fn):
     Node.__init__(self)
     self.execute_fn = execute_fn