#include <aurostd_xcombos.h>
|
| xcombos () |
|
| xcombos (const std::vector< int > &vec, bool sort=true, char mode='P', algorithm_xcombos algorithm=shen_alg_xcombos) |
|
| xcombos (int choice_count, int choose_count, char mode='C', bool rpt=false) |
|
| xcombos (const std::vector< int > &vec, char mode) |
|
| xcombos (const xcombos &b) |
|
| ~xcombos () |
|
const xcombos & | operator= (const xcombos &other) |
|
xcombos & | operator++ () |
|
void | reset () |
|
void | reset (std::vector< int > vec, bool sort=true, char mode='P', algorithm_xcombos algorithm=shen_alg_xcombos) |
|
void | reset (int choice_count, int choose_count, char mode='C', bool rpt=false) |
|
void | reset (std::vector< int > vec, char mode) |
|
const std::vector< int > & | getCombo () const |
|
int | getN () const |
|
int | getM () const |
|
std::vector< int > | getIndices () const |
|
template<class utype> |
std::vector< utype > | applyCombo (const std::vector< utype > &v_items) const |
|
template<class utype> |
std::vector< utype > | applyCombo (const std::vector< std::vector< utype > > &v_items) const |
|
bool | increment () |
|
Definition at line 18 of file aurostd_xcombos.h.
◆ xcombos() [1/5]
aurostd::xcombos::xcombos |
( |
| ) |
|
◆ xcombos() [2/5]
◆ xcombos() [3/5]
aurostd::xcombos::xcombos |
( |
int | choice_count, |
|
|
int | choose_count, |
|
|
char | mode = 'C', |
|
|
bool | rpt = false ) |
◆ xcombos() [4/5]
aurostd::xcombos::xcombos |
( |
const std::vector< int > & | vec, |
|
|
char | mode ) |
◆ xcombos() [5/5]
aurostd::xcombos::xcombos |
( |
const xcombos & | b | ) |
|
◆ ~xcombos()
aurostd::xcombos::~xcombos |
( |
| ) |
|
◆ free()
void aurostd::xcombos::free |
( |
| ) |
|
|
private |
◆ copy()
void aurostd::xcombos::copy |
( |
const xcombos & | b | ) |
|
|
private |
◆ incrementPermutation()
void aurostd::xcombos::incrementPermutation |
( |
| ) |
|
|
private |
◆ incrementCombinations()
void aurostd::xcombos::incrementCombinations |
( |
| ) |
|
|
private |
◆ incrementEnumerations()
void aurostd::xcombos::incrementEnumerations |
( |
| ) |
|
|
private |
◆ initializeCombinationsP()
void aurostd::xcombos::initializeCombinationsP |
( |
| ) |
|
|
private |
◆ setCombinationsIncrementParameters()
void aurostd::xcombos::setCombinationsIncrementParameters |
( |
| ) |
|
|
private |
◆ getNextEnumeration()
void aurostd::xcombos::getNextEnumeration |
( |
| ) |
|
|
private |
◆ getNextEnumerationEqual()
void aurostd::xcombos::getNextEnumerationEqual |
( |
| ) |
|
|
private |
◆ initialize()
void aurostd::xcombos::initialize |
( |
| ) |
|
|
private |
◆ operator=()
◆ operator++()
xcombos & aurostd::xcombos::operator++ |
( |
| ) |
|
◆ reset() [1/4]
void aurostd::xcombos::reset |
( |
| ) |
|
◆ reset() [2/4]
◆ reset() [3/4]
void aurostd::xcombos::reset |
( |
int | choice_count, |
|
|
int | choose_count, |
|
|
char | mode = 'C', |
|
|
bool | rpt = false ) |
◆ reset() [4/4]
void aurostd::xcombos::reset |
( |
std::vector< int > | vec, |
|
|
char | mode ) |
◆ getCombo()
const std::vector< int > & aurostd::xcombos::getCombo |
( |
| ) |
const |
|
nodiscard |
◆ getN()
int aurostd::xcombos::getN |
( |
| ) |
const |
|
nodiscard |
◆ getM()
int aurostd::xcombos::getM |
( |
| ) |
const |
|
nodiscard |
◆ getIndices()
std::vector< int > aurostd::xcombos::getIndices |
( |
| ) |
const |
|
nodiscard |
◆ applyCombo() [1/2]
template<class utype>
std::vector< utype > aurostd::xcombos::applyCombo |
( |
const std::vector< utype > & | v_items | ) |
const |
|
nodiscard |
◆ applyCombo() [2/2]
template<class utype>
std::vector< utype > aurostd::xcombos::applyCombo |
( |
const std::vector< std::vector< utype > > & | v_items | ) |
const |
|
nodiscard |
◆ increment()
bool aurostd::xcombos::increment |
( |
| ) |
|
◆ m_initialized
bool aurostd::xcombos::m_initialized |
|
private |
◆ m_input
std::vector<int> aurostd::xcombos::m_input |
|
private |
◆ n_choices
int aurostd::xcombos::n_choices |
|
private |
◆ m_choose
int aurostd::xcombos::m_choose |
|
private |
◆ m_sort
bool aurostd::xcombos::m_sort |
|
private |
◆ m_started
bool aurostd::xcombos::m_started |
|
private |
◆ m_exhausted
bool aurostd::xcombos::m_exhausted |
|
private |
◆ m_mode
char aurostd::xcombos::m_mode |
|
private |
◆ m_algorithm
◆ m_current
std::vector<int> aurostd::xcombos::m_current |
|
private |
◆ m_p
std::vector<int> aurostd::xcombos::m_p |
|
private |
◆ m_x
int aurostd::xcombos::m_x |
|
private |
◆ m_y
int aurostd::xcombos::m_y |
|
private |
◆ m_repeat
bool aurostd::xcombos::m_repeat |
|
private |
◆ m_sets
std::vector<int> aurostd::xcombos::m_sets |
|
private |
◆ m_indices
std::vector<int> aurostd::xcombos::m_indices |
The documentation for this class was generated from the following files: