def __init__(self, nested, use_degree_correlation, allow_overlap, weight_model):
    self.nested = nested
    self.use_degree_correlation = use_degree_correlation
    self.allow_overlap = allow_overlap
    self.weight_model = weight_model
    self.model_ = None
def __init__(self, nested, use_degree_correlation, allow_overlap, weight_model):
    self.nested = nested
    self.use_degree_correlation = use_degree_correlation
    self.allow_overlap = allow_overlap
    self.weight_model = weight_model
    self.model_ = None