pub struct BiconnectedComponents {
pub count: u32,
pub components: Vec<Vec<VertexId>>,
pub tree_edges: Vec<Vec<u32>>,
pub component_edges: Vec<Vec<u32>>,
pub articulation_points: Vec<VertexId>,
}Expand description
Output of biconnected_components.
Fields§
§count: u32Total number of biconnected components.
components: Vec<Vec<VertexId>>components[i] lists the vertex ids of the i-th component.
tree_edges: Vec<Vec<u32>>tree_edges[i] lists the edge ids that form a spanning tree of
the i-th component. Same length as components.
component_edges: Vec<Vec<u32>>component_edges[i] lists every edge id whose endpoints both
lie in the i-th component. Same length as components.
Counterpart of upstream’s component_edges output (CC-012).
articulation_points: Vec<VertexId>Articulation points of the graph (in DFS-discovery order).
Trait Implementations§
Source§impl Clone for BiconnectedComponents
impl Clone for BiconnectedComponents
Source§fn clone(&self) -> BiconnectedComponents
fn clone(&self) -> BiconnectedComponents
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BiconnectedComponents
impl Debug for BiconnectedComponents
Source§impl PartialEq for BiconnectedComponents
impl PartialEq for BiconnectedComponents
impl Eq for BiconnectedComponents
impl StructuralPartialEq for BiconnectedComponents
Auto Trait Implementations§
impl Freeze for BiconnectedComponents
impl RefUnwindSafe for BiconnectedComponents
impl Send for BiconnectedComponents
impl Sync for BiconnectedComponents
impl Unpin for BiconnectedComponents
impl UnsafeUnpin for BiconnectedComponents
impl UnwindSafe for BiconnectedComponents
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more