remove_edges Interface

interface
private module subroutine remove_edges(this, indices, update_adjacency)

Arguments

Type IntentOptional Attributes Name
class(graph_type), intent(inout) :: this

Parent. Instance of the graph structure.

integer, intent(in), dimension(:) :: indices

Indices of the edges to be removed.

logical, intent(in), optional :: update_adjacency

Boolean whether to update the adjacency matrix. Default is True.

Description

Interface for removing edges from the graph.

This will deallocate the edges.