class MixedXor: def __init__(self, j, k, m, initial, j2, k2, m2, initial2): self.first = AWC(j, k, m, initial) self.second = FibAdd(j2, k2, m2, initial2) def get_next(self): return self.first.get_next() ^ self.second.get_next()
def __init__(self, j, k, m, initial, j2, k2, m2, initial2): self.first = AWC(j, k, m, initial) self.second = FibAdd(j2, k2, m2, initial2)