ultragraph 0.8.16

Hypergraph data structure.
Documentation
1
2
3
4
5
6
7
8
9
10
/*
 * SPDX-License-Identifier: MIT
 * Copyright (c) 2023 - 2026. The DeepCausality Authors and Contributors. All Rights Reserved.
 */
use crate::{GraphError, GraphView};

pub trait StructuralGraphAlgorithms<N, W>: GraphView<N, W> {
    /// Finds all Strongly Connected Components in the graph.
    fn strongly_connected_components(&self) -> Result<Vec<Vec<usize>>, GraphError>;
}