def __init__()

in src/qbsolv_community.py [0:0]


    def __init__(self, graph, solver_limit=40, num_repeats=1, num_reads=1000, seed=1, alpha=5):
        
        """
        Set hyperparameter values for QBSolv

        :param graph: a networkX graph
        :param solver_limit: int, the maximum number of variables (n) for sub-QUBOs
        :param num_repeats: int, the maximum iterations to repeat QBSolv solver execution to discover a new best solution
        :param num_reads: int, the number of times the annealing to be performed
        :param seed: int, random seed value
        :param alpha: int, the penalty coefficient to enforce assigning only one community to each node
        """
        
        self.graph = graph
        self.solver_limit = solver_limit
        self.num_repeats = num_repeats
        self.num_reads = num_reads
        self.seed = seed
        self.alpha = alpha