Function adj_matrix_edge_remove

Function Documentation

status_t adj_matrix_edge_remove(struct adj_matrix *matrix, size_t u, size_t v)

Remove an edge (u,v). If the graph was undirected, also remove the edge (v,u).

Parameters:
  • matrix – The matrix handle.

  • u – Source vertex.

  • v – Sink vertex.

Returns:

status_t.