

def setup_igraph(self):
    self.ig_ER_G = ig.Graph()
    self.ig_ER_G.add_vertices(len(self.ER_G))
    wweights.ig_ER_G.add_edges(self.ER_G.edges())
    wweights = {
        
    }
    for (i, j) in self.ig_ER_G.get_edgelist():
        if ((i in wweights) and (j not in wweights[i])):
            wweights[i][j] = True
            self.weights.append(self.ER_G.weight(i, j))

dataset/ETHPy150Open networkdynamics/zenlib/src/zen/benchmarks/spanning.py MinimumSpanningTreeBenchmark.setup_igraph/VarMisuse@34/45 `self`->`wweights`