Trait petgraph::visit::GetAdjacencyMatrix
[−]
[src]
pub trait GetAdjacencyMatrix: Graphlike { type AdjMatrix; fn adjacency_matrix(&self) -> Self::AdjMatrix; fn is_adjacent(&self, matrix: &Self::AdjMatrix, a: Self::NodeId, b: Self::NodeId) -> bool; }
Create or access the adjacency matrix of a graph