pub trait PathGraph {
// Required methods
fn has_path(&self, x: usize, y: usize) -> bool;
fn is_acyclic(&self) -> bool;
}
Expand description
Path checks on graph trait.
Required Methods§
Sourcefn is_acyclic(&self) -> bool
fn is_acyclic(&self) -> bool
Checks if the graph contains no cycles.