@__haoyang__/erwin
Preparing search index...
dataStructor
UFD
Class UFD<T>
Union-Find Data Structure
Type Parameters
T
Index
Constructors
constructor
Methods
find_
ancestor
insert
unite
unite_
the_
first_
into_
the_
second
Constructors
constructor
new
UFD
<
T
>
()
:
UFD
<
T
>
Type Parameters
T
Returns
UFD
<
T
>
Methods
find_
ancestor
find_ancestor
(
node
:
T
)
:
T
Parameters
node
:
T
Returns
T
insert
insert
(
node
:
T
)
:
void
Parameters
node
:
T
Returns
void
unite
unite
(
node1
:
T
,
node2
:
T
)
:
void
Parameters
node1
:
T
node2
:
T
Returns
void
unite_
the_
first_
into_
the_
second
unite_the_first_into_the_second
(
node1
:
T
,
node2
:
T
)
:
void
Parameters
node1
:
T
node2
:
T
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
find_
ancestor
insert
unite
unite_
the_
first_
into_
the_
second
@__haoyang__/erwin
Loading...
Union-Find Data Structure