#include <Combinations.hpp>
Public Member Functions | |
Combonations (const std::vector< int > &elems, int choose) | |
std::vector< std::vector< int > > & | GetCombinations () |
Static Public Member Functions | |
static void | Create (const std::vector< int > &elems, unsigned long req_len, std::vector< std::vector< int > > &combos) |
Simple class to create a list of combinations with repetition.
elems | |
req_len | |
pos | |
depth | |
margin | |
combos |