예제 #1
0
 def __init__(self, key, p, left, right, color, minimum, maximum,
              predecessor, successor):
     rb_node.__init__(self, key, p, left, right, color)
     self.minimum = minimum
     self.maximum = maximum
     self.predecessor = predecessor
     self.successor = successor
예제 #2
0
 def __init__(self, key, p, left, right, color, bh):
     rb_node.__init__(self, key, p, left, right, color)
     self.bh = bh
예제 #3
0
 def __init__(self, key, p, left, right, color, successor, min_gap):
     rb_node.__init__(self, key, p, left, right, color)
     self.successor = successor
     self.min_gap = min_gap
예제 #4
0
 def __init__(self, key, p, left, right, color, rank):
     rb_node.__init__(self, key, p, left, right, color)
     self.rank = rank
예제 #5
0
 def __init__(self, key, p, left, right, color, interval, maximum):
     rb_node.__init__(self, key, p, left, right, color)
     self.interval = interval
     self.maximum = maximum
예제 #6
0
 def __init__(self, key, p, left, right, color, size):
     rb_node.__init__(self, key, p, left, right, color)
     self.size = size
예제 #7
0
 def __init__(self, key, p, left, right, color, depth):
     rb_node.__init__(self, key, p, left, right, color)
     self.depth = depth