summaryrefslogtreecommitdiff
path: root/src/03/graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/03/graph.c')
-rw-r--r--src/03/graph.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/03/graph.c b/src/03/graph.c
index 1e67202..db76be1 100644
--- a/src/03/graph.c
+++ b/src/03/graph.c
@@ -24,3 +24,7 @@ Vertex *graph_add_vertex(Graph *graph, char label) {
void graph_add_edge(Graph *graph, Vertex *a, Vertex *b) {
graph->edges[a->label][b->label] = true;
}
+
+bool graph_connected(Graph *graph, Vertex *a, Vertex *b) {
+ return true;
+}