Skip to main content

has_path

Function has_path 

Source
pub fn has_path<V>(
    q: &GraphQuery<V>,
    weight: &TraversalWeight<V>,
    from: &Pattern<V>,
    to: &Pattern<V>,
) -> bool
where V: GraphValue + Clone, V::Id: Clone + Eq + Hash + Ord,
Expand description

Returns true if a path exists from from to to.

Delegates to shortest_path.