Trait fera_graph::prelude::WithSubgraph
[−]
[src]
pub trait WithSubgraph<G: Graph> { fn empty_spanning_subgraph(&self) -> SpanningSubgraph<G>; fn spanning_subgraph<I>(&self, vertices: I) -> SpanningSubgraph<G>
where
I: IntoIterator,
I::Item: IntoOwned<Edge<G>>; fn induced_subgraph<I>(&self, vertices: I) -> Subgraph<G>
where
G: Incidence,
I: IntoIterator,
I::Item: IntoOwned<Vertex<G>>; fn edge_induced_subgraph<I>(&self, edges: I) -> Subgraph<G>
where
I: IntoIterator,
I::Item: IntoOwned<Edge<G>>; }
Required Methods
fn empty_spanning_subgraph(&self) -> SpanningSubgraph<G>
fn spanning_subgraph<I>(&self, vertices: I) -> SpanningSubgraph<G> where
I: IntoIterator,
I::Item: IntoOwned<Edge<G>>,
I: IntoIterator,
I::Item: IntoOwned<Edge<G>>,
fn induced_subgraph<I>(&self, vertices: I) -> Subgraph<G> where
G: Incidence,
I: IntoIterator,
I::Item: IntoOwned<Vertex<G>>,
G: Incidence,
I: IntoIterator,
I::Item: IntoOwned<Vertex<G>>,
fn edge_induced_subgraph<I>(&self, edges: I) -> Subgraph<G> where
I: IntoIterator,
I::Item: IntoOwned<Edge<G>>,
I: IntoIterator,
I::Item: IntoOwned<Edge<G>>,
Implementors
impl<G: Graph> WithSubgraph<G> for G