Vocabulary

disjoint-sets

Inputs

Outputs

Definition

Methods

disjoint-sets

Inputs

a | an object |

disjoint-set | an object |

Outputs

p | an object |

Definition

Methods

M:: disjoint-set representative ( a disjoint-set -- p )

a disjoint-set parents>> at :> p a p =

[ a ] [

p disjoint-set representative

[ a disjoint-set set-parent ] keep

] if ;

a disjoint-set parents>> at :> p a p =

[ a ] [

p disjoint-set representative

[ a disjoint-set set-parent ] keep

] if ;

This documentation was generated offline from a
`load-all`

image. If you want, you can also
browse the documentation from within the UI developer tools. See
the Factor website
for more information.

Factor 0.99 x86.64 (2187, heads/master-82fec08a0c, Jan 27 2023 16:13:10)