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]

[src]

Formats the value using the given formatter.

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

[src]

Returns a copy of the value. Read more

[src]

Performs copy-assignment from source. Read more

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

[src]

Returns the size of self.

[src]

Inserts a new set into the union. Read more

[src]

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

[src]

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

[src]

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

[src]

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

[src]

Creates empty UnionFind struct.

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

[src]

Creates a value from an iterator. Read more

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

[src]

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