pub trait Traversal<N> {
type Store<I2>;
// Required methods
fn has_visited(&self, dest: &N) -> bool;
fn visited(&self) -> &Self::Store<N>;
}
Expand description
Traversal
trait defines an interface for operators capable of traversing some type,
which in this case is a hypergraph.
Required Associated Types§
Required Methods§
Sourcefn has_visited(&self, dest: &N) -> bool
fn has_visited(&self, dest: &N) -> bool
Check if the search has visited a specific vertex
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.