| 8 | use crate::ll::linked_list::Iter; |
| 9 | |
| 10 | pub struct Cycle { |
| 11 | marked: Vec<bool>, |
| 12 | cycle: Option<Stack<usize>>, |
| 13 | edge_to: Vec<usize>, |
| 14 | } |
| 15 | |
| 16 | impl Cycle { |
| 17 | pub fn new(g: &dyn IGraph) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected