Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/frangio/pruesse-ruskey


https://github.com/frangio/pruesse-ruskey

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

Enumerating all topological sorts of a DAG in constant amortized time, implemented in Rust following Canfield and Williamson's non-recursive variant of Pruesse-Ruskey.

1. Pruesse, G. and Ruskey, F. 1994. _Generating linear extensions fast_. https://doi.org/10.1137/s0097539791202647
4. Canfield, E.R. and Williamson, S.G. 1995. _A loop-free algorithm for generating the linear extensions of a poset_. https://doi.org/10.1007/bf01108590

> **Note**
> Beware, the implementation is not particularly readable.