MCPcopy Create free account
hub / github.com/douchuan/algorithm / Graph

Class Graph

src/graph/undirected/graph.rs:43–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected