Struct fera_graph::prelude::SpanningSubgraph [] [src]

pub struct SpanningSubgraph<'a, G> where
    G: 'a + WithEdge + WithVertexProp<Vec<Edge<G>>>, 
{ /* fields omitted */ }

Methods

impl<'a, G> SpanningSubgraph<'a, G> where
    G: 'a + WithEdge + WithVertexProp<Vec<Edge<G>>>, 
[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl<'a, G> AsRef<G> for SpanningSubgraph<'a, G> where
    G: 'a + WithEdge + WithVertexProp<Vec<Edge<G>>>, 
[src]

[src]

Performs the conversion.

impl<'a, 'b, G> VertexTypes<'a, SpanningSubgraph<'b, G>> for SpanningSubgraph<'b, G> where
    G: 'b + WithEdge + WithVertexProp<Vec<Edge<G>>>, 
[src]

impl<'a, G> WithVertex for SpanningSubgraph<'a, G> where
    G: 'a + WithEdge + WithVertexProp<Vec<Edge<G>>>, 
[src]

[src]

[src]

[src]

[src]

impl<'a, 'b, G> EdgeTypes<'a, SpanningSubgraph<'b, G>> for SpanningSubgraph<'b, G> where
    G: 'b + WithEdge + WithVertexProp<Vec<Edge<G>>>, 
[src]

impl<'a, G> WithEdge for SpanningSubgraph<'a, G> where
    G: 'a + WithEdge + WithVertexProp<Vec<Edge<G>>>, 
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

impl<'a, G> VertexList for SpanningSubgraph<'a, G> where
    G: 'a + WithEdge + WithVertexProp<Vec<Edge<G>>> + VertexList
[src]

[src]

[src]

impl<'a, G> EdgeList for SpanningSubgraph<'a, G> where
    G: 'a + WithEdge + WithVertexProp<Vec<Edge<G>>>, 
[src]

[src]

[src]

[src]

[src]

[src]

[src]

impl<'a, G> Adjacency for SpanningSubgraph<'a, G> where
    G: 'a + WithEdge + WithVertexProp<Vec<Edge<G>>>, 
[src]

[src]

[src]

impl<'a, G> Incidence for SpanningSubgraph<'a, G> where
    G: 'a + WithEdge + WithVertexProp<Vec<Edge<G>>>, 
[src]

[src]

[src]

[src]

impl<'a, G, T> WithVertexProp<T> for SpanningSubgraph<'a, G> where
    G: 'a + WithEdge + WithVertexProp<Vec<Edge<G>>> + WithVertexProp<T>, 
[src]

The vertex property type.

[src]

Creates a new default vertex property where the initial value associated with each vertex is value. Read more

[src]

Creates a new default vertex property where the initial value associated with each vertex v is produced by fun(v). Read more

impl<'a, G, T> WithEdgeProp<T> for SpanningSubgraph<'a, G> where
    G: 'a + WithEdge + WithVertexProp<Vec<Edge<G>>> + WithEdgeProp<T>, 
[src]

[src]

Creates a new default edge property where the initial value associated with each edge is value. Read more

[src]

Creates a new default edge property where the initial value associated with each edge e is produced by fun(e). Read more

impl<'a, G> BasicVertexProps for SpanningSubgraph<'a, G> where
    G: 'a + WithEdge + WithVertexProp<Vec<Edge<G>>> + BasicVertexProps
[src]

impl<'a, G> BasicEdgeProps for SpanningSubgraph<'a, G> where
    G: 'a + WithEdge + WithVertexProp<Vec<Edge<G>>> + BasicEdgeProps
[src]

impl<'a, G> BasicProps for SpanningSubgraph<'a, G> where
    G: 'a + WithEdge + WithVertexProp<Vec<Edge<G>>> + BasicProps
[src]

impl<'a, G> Choose for SpanningSubgraph<'a, G> where
    G: 'a + WithEdge + WithVertexProp<Vec<Edge<G>>> + Choose
[src]

[src]

Returns a random vertex of this graph or None if the graph has no vertices.

[src]

Returns a random neighbor vertex of v or None if v has no neighbors.

[src]

Returns a random edge of this graph or None if the graph has no edges.

[src]

Returns a random out edge of v or None if v has no out edges.

[src]

Returns an iterator that repeatedly calls choose_vertex.

[src]

Returns an iterator that repeatedly calls choose_out_neighbor(v).

[src]

Returns an iterator that repeatedly calls choose_edge.

[src]

Returns an iterator that repeatedly calls choose_out_edge(v).

[src]

Returns a iterator that produces a sequence of random edges that forms a walk, that is, the target vertex of the previous edge is the source vertex of the next edge. Read more