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.100 x86.64 (2240, heads/master-b90c89f82e, Sep 26 2023 19:59:25)