causal_hub/graphs/
path.rs

1/// Path checks on graph trait.
2pub trait PathGraph {
3    /// Checks if the graph contains a path.
4    fn has_path(&self, x: usize, y: usize) -> bool;
5
6    /// Checks if the graph contains no cycles.
7    fn is_acyclic(&self) -> bool;
8}