Struct union_find::QuickFindUf [] [src]

pub struct QuickFindUf<V> { /* fields omitted */ }

Union-Find implementation with quick find operation.

Trait Implementations

impl<V: Debug> Debug for QuickFindUf<V>
[src]

Formats the value using the given formatter.

impl<V> Clone for QuickFindUf<V> where
    V: Clone + Union
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<V: Union> UnionFind<V> for QuickFindUf<V>
[src]

Returns the size of self.

Inserts a new set into the union. Read more

Join two sets that contains given keys (union operation). Read more

Returns the identifier of the set that the key belongs to.

Returns the reference to the value of the set that the key belongs to.

Returns the mutable reference to the value of the set that the key belongs to.

Creates empty UnionFind struct.

impl<A: Union> FromIterator<A> for QuickFindUf<A>
[src]

Creates a value from an iterator. Read more

impl<A> Extend<A> for QuickFindUf<A>
[src]

Extends a collection with the contents of an iterator. Read more