Crate permutohedron
Source Expand description
§Crate Feature Flags
std
- Default. Disabling
std
requires Rust 1.6 or later
- Disabling
std
makes the crate a #![no_std]
crate (works with core)
- control
- Control flow for callbacks.
- Heap
- Heap’s algorithm for generating permutations.
- MAXHEAP
- Maximum number of elements we can generate permutations for using
Heap’s algorithm (iterative version).
- LexicalPermutation
- Permute a slice into its next or previous permutation (in lexical order).
- factorial
- Compute n! (n factorial)
- heap_recursive
- Heap’s algorithm for generating permutations, recursive version.