closure ( vertex quot: ( vertex -- edges ) -- set )

Factor handbook » The language » Collections » Directed graph utilities

Factor handbook » The language » Collections » Directed graph utilities

Prev: | remove-vertex ( vertex edges graph -- ) |

Vocabulary

graphs

Inputs

Outputs

Word description

Outputs all vertices reachable from vertex via edges given by the quotation. The set always includes vertex.

Definition

graphs

Inputs

vertex | an object |

quot | a quotation with stack effect ( vertex -- edges ) |

Outputs

set | a hash-set |

Word description

Outputs all vertices reachable from vertex via edges given by the quotation. The set always includes vertex.

Definition

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-adff5af2b7, Sep 20 2023 21:16:03)