def __init__(self, reg_num, yind, fold):
    self.__yind = yind
    self.__fold = fold
    self.__reg_num = reg_num
    self.__gate_placed = []
def __init__(self, reg_num, yind, fold):
    self.__yind = yind
    self.__fold = fold
    self.__reg_num = reg_num
    self.__gate_placed = []