def METHOD_NAME(self, n):
    for _ in range(n):
        num_v = np.random.randint(self.min_num_v, self.max_num_v)
        path_len = np.random.randint(2, num_v // 2)
        g = nx.lollipop_graph(m=num_v - path_len, n=path_len)
        self.graphs.append(g)
        self.labels.append(3)