def copy(self):
        newGraph = SparseGraph(self.vList.copy(), self.undirected)
        newGraph.W = self.W.copy()
        return newGraph
Returns a copy of this object, which also has a copy of the AbstractVertexList.
dataset/ETHPy150Open charanpald/APGL/apgl/graph/SparseGraph.py/SparseGraph.copy