| 41 | use crate::ll::{linked_list::Iter, LinkedList}; |
| 42 | |
| 43 | pub struct Graph { |
| 44 | nv: usize, // num of vertices |
| 45 | ne: usize, // num of edges |
| 46 | adj: Vec<LinkedList<usize>>, |
| 47 | } |
| 48 | |
| 49 | impl IGraph for Graph { |
| 50 | fn V(&self) -> usize { |
nothing calls this directly
no outgoing calls
no test coverage detected