Skip to main content

ExampleUnionFind

Type Alias ExampleUnionFind 

Source
pub type ExampleUnionFind = UnionFindGeneric<ExampleUnionNode>;

Aliased Type§

pub struct ExampleUnionFind {
    pub link_parent: Vec<usize>,
    pub payload: Vec<ExampleUnionNode>,
    /* private fields */
}

Fields§

§link_parent: Vec<usize>

tree structure, each node has a parent

§payload: Vec<ExampleUnionNode>

the node information, has the same length as link_parent