diff options
| author | Mikkel Thestrup <mithe24@student.sdu.dk> | 2025-12-03 22:38:44 +0100 |
|---|---|---|
| committer | Mikkel Thestrup <mithe24@student.sdu.dk> | 2025-12-03 22:38:44 +0100 |
| commit | a846e5e8b6442f6aa9ad738e2173da3211325f8e (patch) | |
| tree | 3bff07717d3375be4de1abecebe0bff5288bbdf7 /src/graph.h | |
| parent | 4a71e268c9cc5d7d9dd8a734ead6d657efa555a6 (diff) | |
| download | cycle-detector-a846e5e8b6442f6aa9ad738e2173da3211325f8e.tar.gz cycle-detector-a846e5e8b6442f6aa9ad738e2173da3211325f8e.zip | |
Added graph_remove_edge()
Diffstat (limited to '')
| -rw-r--r-- | src/graph.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/graph.h b/src/graph.h index 22b4ae5..54d4f7a 100644 --- a/src/graph.h +++ b/src/graph.h @@ -30,6 +30,7 @@ void graph_add_edge(Graph *g, int i, int j); // Returns a pointer to the read graph, or NULL on error. // Post: the caller owns the graph. Graph *graph_read(const char *filename); +void graph_remove_edge(Graph *g, int i, int j); // Deallocates the given graph and all its associated memory. void graph_delete(Graph *g); |