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

Class Digraph

src/graph/directed/digraph.rs:6–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4use crate::ll::LinkedList;
5
6pub struct Digraph {
7 nv: usize, // num of vertices
8 ne: usize, // num of edges
9 adj: Vec<LinkedList<usize>>,
10}
11
12impl IGraph for Digraph {
13 fn V(&self) -> usize {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected