A modern C++ library for efficiently and easily iterating through common combinatorial objects, such as combinations, permutations, partitions and more.
The FUN argument in comboGeneral() and similar RcppAlgos functions could be more useful if the user is allowed to provide the expected value, similar to vapply(). Currently, a list is allocated which can take up a lot of memory.
🦕 Combinatorial generators including combinations, permutations, combinations with replacement, permutations with replacement, cartesian products, and power sets.
A dart library that simplifies working with meta-arrangements commonly encountered in combinatorics such as arrangements of combinations and permutations.
Enumeration of all Permutations (Recursion, Single Swap, and in Lexicographic Order), and Combinations. Enumeration of all Topological Orderings on a Directed Graph. Enumeration of all Paths in a connected Graph. Evaluates Critical Path using PERT Algorithm.
The
FUNargument incomboGeneral()and similarRcppAlgosfunctions could be more useful if the user is allowed to provide the expected value, similar tovapply(). Currently, a list is allocated which can take up a lot of memory.