Structs§
- Graph
- A graph is represented as an adjacency list, which is internally
modelled as a vector of vectors
Vec<Vec<(u32, W)>>. Each index corresponds to a node, and each innerVecstores edges of the form(target_node, weight). The weight typeWis user-defined: - Unweighted
- Weighted