#include <CombinationsGen.h>
|
| | CombinationsGen (unsigned int n, unsigned int k) |
| std::pair< std::vector< unsigned int >, bool > | next () |
Definition at line 20 of file CombinationsGen.h.
◆ CombinationsGen()
| CombinationsGen::CombinationsGen |
( |
unsigned int | n, |
|
|
unsigned int | k ) |
|
inline |
◆ next()
| std::pair< std::vector< unsigned int >, bool > CombinationsGen::next |
( |
| ) |
|
|
inline |
Definition at line 33 of file CombinationsGen.h.
33 {
34
35 std::vector<unsigned int> comb;
37
38 if(not
m_more){
return {comb,
false};}
39
42 }
44 return {comb, true};
45 }
◆ m_bitmask
| std::string CombinationsGen::m_bitmask |
|
private |
◆ m_invalid
| bool CombinationsGen::m_invalid |
|
private |
◆ m_more
| bool CombinationsGen::m_more |
|
private |
The documentation for this class was generated from the following file: