summaryrefslogtreecommitdiff
path: root/src/03/graph.h
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-09-08 10:52:44 -0600
committermo khan <mo.khan@gmail.com>2020-09-08 10:52:44 -0600
commit6d195cdfdd34ee0755930b71058ed29832676583 (patch)
tree0d6fdfddfdb84ddad636f1ed3d1f05ab6e07b687 /src/03/graph.h
parent81f845facd2c911846f7bffe1f7ecfebd8039f78 (diff)
refactor: rename connected to has_edge
Diffstat (limited to 'src/03/graph.h')
-rw-r--r--src/03/graph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/03/graph.h b/src/03/graph.h
index e4f7c1c..7e591c8 100644
--- a/src/03/graph.h
+++ b/src/03/graph.h
@@ -12,4 +12,4 @@ typedef struct {
Graph *graph_initialize(void);
Vertex *graph_add_vertex(Graph *graph, char label);
void graph_add_edge(Graph *graph, Vertex *a, Vertex *b);
-bool graph_connected(Graph *graph, Vertex *a, Vertex *b);
+bool graph_has_edge(Graph *graph, Vertex *a, Vertex *b);