aboutsummaryrefslogtreecommitdiff
path: root/sem1/algo/workshop2/dijkstra/graph.h
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-01-04 08:58:20 +0100
committerJulian T <julian@jtle.dk>2020-01-04 08:59:05 +0100
commit41773c52a88ca186df6031248a63dda3c9c29e05 (patch)
treea506b58af62eb0892252246ac4f64e678add1bc6 /sem1/algo/workshop2/dijkstra/graph.h
parentb9f94964183d680efd071abe5de2965124803971 (diff)
Made dijkstra work with new ref implementation
Diffstat (limited to 'sem1/algo/workshop2/dijkstra/graph.h')
-rw-r--r--sem1/algo/workshop2/dijkstra/graph.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sem1/algo/workshop2/dijkstra/graph.h b/sem1/algo/workshop2/dijkstra/graph.h
index 484fea4..5c078b8 100644
--- a/sem1/algo/workshop2/dijkstra/graph.h
+++ b/sem1/algo/workshop2/dijkstra/graph.h
@@ -42,5 +42,6 @@ int graph_print_adj(graph_t *g, char *ref);
void graph_edge(graph_t *g, char *from, char *to, int weight);
edge_t *edge_next(graph_t *g, edge_t *e);
vertex_t *vertex_next(graph_t *g, vertex_t *v);
+vertex_t *graph_vertex(graph_t *g, char *ref);
#endif // GRAPH_H_