From 74042cf25ae31e8e683f7e047c1af088a39399c3 Mon Sep 17 00:00:00 2001 From: mtfishman Date: Mon, 15 Apr 2024 17:59:35 -0400 Subject: [PATCH] Cleanup --- .../src/abstractpartitionedgraph.jl | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/src/lib/PartitionedGraphs/src/abstractpartitionedgraph.jl b/src/lib/PartitionedGraphs/src/abstractpartitionedgraph.jl index 65d2bce..83d3b15 100644 --- a/src/lib/PartitionedGraphs/src/abstractpartitionedgraph.jl +++ b/src/lib/PartitionedGraphs/src/abstractpartitionedgraph.jl @@ -102,29 +102,6 @@ function Graphs.rem_edge!( return rem_edges!(pg, edges(pg, parent(partitionedge))) end -## function GraphsExtensions.rem_edge(pg::AbstractPartitionedGraph, partitionedge::AbstractPartitionEdge) -## pg_new = copy(pg) -## rem_edge!(pg_new, partitionedge) -## return pg_new -## end - -## function GraphsExtensions.rem_edges!( -## pg::AbstractPartitionedGraph, partitionedges::Vector{<:AbstractPartitionEdge} -## ) -## for pe in partitionedges -## rem_edge!(pg, pe) -## end -## return pg -## end - -## function GraphsExtensions.rem_edges( -## pg::AbstractPartitionedGraph, partitionedges::Vector{<:AbstractPartitionEdge} -## ) -## pg_new = copy(pg) -## rem_edges!(pg_new, partitionedges) -## return pg_new -## end - #Vertex addition and removal. I think it's important not to allow addition of a vertex without specification of PV function Graphs.add_vertex!( pg::AbstractPartitionedGraph, vertex, partitionvertex::AbstractPartitionVertex