def __init__(self, A): """Create new BKZ object. :param A: an integer matrix, a GSO object or an LLL object """ BKZBase.__init__(self, A)
def __init__(self, A): """Create new BKZ object. :param A: an integer matrix, a GSO object or an LLL object """ BKZBase.__init__(self, A) self.M.discover_all_rows() # TODO: this belongs in __call__ (?)
def __init__(self, A, preproc_decider): """Create new BKZ object. :param A: an integer matrix, a GSO object or an LLL object """ BKZBase.__init__(self, A) self.M.discover_all_rows() # TODO: this belongs in __call__ (?) self.preproc_decider = preproc_decider self.last_pruning = AUTO_MAX_BLOCK_SIZE * [None]
def __init__(self, A, tuners=None, recycle=True): """Construct a new instance of the BKZ algorithm. :param A: an integer matrix, a GSO object or an LLL object """ BKZBase.__init__(self, A) self.recycle = recycle self.tuners = YOLO_MAX_BLOCK_SIZE * [None] if tuners is None: for i in range(YOLO_MAX_BLOCK_SIZE): self.tuners[i] = Tuner(i, self.tuners) else: self.tuners = tuners