C++ Reference: sparse_permutation

Note: This documentation is automatically generated.



A compact representation for permutations of {0..N-1} that displaces few elements: it needs only O(K) memory for a permutation that displaces K elements.

Classes

SparsePermutation