Sets

Trait Sets 

Source
pub trait Sets {
    // Provided methods
    fn vertices_complement<I>(
        &self,
        vertices: I,
    ) -> VerticesComplement<'_, Self> 
       where Self: VertexList + WithVertexProp<bool>,
             I: IntoIterator,
             I::Item: IntoOwned<Vertex<Self>> { ... }
    fn edges_complement<I>(&self, edges: I) -> EdgesComplement<'_, Self> 
       where Self: EdgeList + WithEdgeProp<bool>,
             I: IntoIterator,
             I::Item: IntoOwned<Edge<Self>> { ... }
    fn independent_vertex_set_from_iter<I>(
        &self,
        vertices: I,
    ) -> IndependentVertexSetFromIter<'_, Self, I::IntoIter> 
       where Self: Adjacency + WithVertexProp<bool>,
             I: IntoIterator,
             I::Item: IntoOwned<Vertex<Self>> { ... }
    fn is_independent_vertex_set<I>(&self, vertices: I) -> bool
       where Self: Adjacency + WithVertexProp<bool>,
             I: IntoIterator,
             I::Item: IntoOwned<Vertex<Self>> { ... }
}

Provided Methods§

Source

fn vertices_complement<I>(&self, vertices: I) -> VerticesComplement<'_, Self>

Source

fn edges_complement<I>(&self, edges: I) -> EdgesComplement<'_, Self>
where Self: EdgeList + WithEdgeProp<bool>, I: IntoIterator, I::Item: IntoOwned<Edge<Self>>,

Source

fn independent_vertex_set_from_iter<I>( &self, vertices: I, ) -> IndependentVertexSetFromIter<'_, Self, I::IntoIter>

Source

fn is_independent_vertex_set<I>(&self, vertices: I) -> bool

Implementors§

Source§

impl<G> Sets for G