Add todos

This commit is contained in:
2025-10-08 13:42:50 +02:00
parent e879316a4c
commit 43974d6754
+2
View File
@@ -20,6 +20,8 @@ struct Graph {
incidence_vertices: Vec<Vertex>, incidence_vertices: Vec<Vertex>,
} }
// TODO: Add iterator of vertices.
// TODO: Add iterator of edges.
// TODO: Add iterator of vertex neighbors, see 'fn add_adjacent()'. // TODO: Add iterator of vertex neighbors, see 'fn add_adjacent()'.
impl Graph { impl Graph {
fn vertex_count(&self) -> usize { fn vertex_count(&self) -> usize {