From 8c3c6abc7821f904bdb365174a7794e077f9cd46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=BCller?= Date: Thu, 3 Sep 2026 20:40:43 +0200 Subject: [PATCH] Updated todos --- src/algorithms.rs | 1 - src/models/frozen_graph.rs | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms.rs b/src/algorithms.rs index ca3fdd4..f42e4ad 100644 --- a/src/algorithms.rs +++ b/src/algorithms.rs @@ -557,7 +557,6 @@ where None } -// TODO: 'visited' is already encoded in 'predecessors', except for 'source', which is visited, but has no predecessor. /// Return data type for [`dfs`]. pub struct DfsResult { /// Vertex map indicating which vertices were visited during the search. diff --git a/src/models/frozen_graph.rs b/src/models/frozen_graph.rs index 0b94f47..978e335 100644 --- a/src/models/frozen_graph.rs +++ b/src/models/frozen_graph.rs @@ -96,6 +96,7 @@ pub struct FrozenGraph { } impl FrozenGraph { + // TODO: Move this to a new FromGraph trait and adapt the MakeTestGraph impl to use helper functions like "fn fixture_empty() -> G { G::from_graph(&AppendGraph::empty()).0 }". /// Creates a graph instance as a copy of another graph. /// /// Returns the copied graph instance and two mappings of the `source` graph vertices and edges