Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman committed Apr 15, 2024
1 parent c357246 commit 74042cf
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/lib/PartitionedGraphs/src/abstractpartitionedgraph.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 74042cf

Please sign in to comment.