From 41773c52a88ca186df6031248a63dda3c9c29e05 Mon Sep 17 00:00:00 2001 From: Julian T Date: Sat, 4 Jan 2020 08:58:20 +0100 Subject: Made dijkstra work with new ref implementation --- sem1/algo/workshop2/dijkstra/graph.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sem1/algo/workshop2/dijkstra/graph.h') 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_ -- cgit v1.2.3