![]() |
ATLAS Offline Software
|
#include <Combinators.h>
Public Member Functions | |
| CombinationGenerator (const std::initializer_list< size_t > &collectionSizes) | |
| construct combnations maker with the sizes of collection to which it should be applied | |
| void | add (size_t nextColl) |
| void | reset () |
| size_t | size () const |
| const std::vector< size_t > & | operator() () const |
| returns current combination | |
| const std::vector< size_t > & | current () const |
| void | operator++ () |
| moves to the next combination | |
| operator bool () const | |
| are combinations exhausted | |
Private Attributes | |
| std::vector< size_t > | m_maxes |
| std::vector< size_t > | m_current |
Definition at line 18 of file TrigCompositeUtils/TrigCompositeUtils/Combinators.h.
| CombinationGenerator::CombinationGenerator | ( | const std::initializer_list< size_t > & | collectionSizes | ) |
construct combnations maker with the sizes of collection to which it should be applied
Definition at line 12 of file Combinators.cxx.
|
inline |
Definition at line 24 of file TrigCompositeUtils/TrigCompositeUtils/Combinators.h.
|
inline |
Definition at line 31 of file TrigCompositeUtils/TrigCompositeUtils/Combinators.h.
| CombinationGenerator::operator bool | ( | ) | const |
are combinations exhausted
Definition at line 52 of file Combinators.cxx.
|
inline |
returns current combination
Definition at line 30 of file TrigCompositeUtils/TrigCompositeUtils/Combinators.h.
| void CombinationGenerator::operator++ | ( | ) |
moves to the next combination
Definition at line 29 of file Combinators.cxx.
| void CombinationGenerator::reset | ( | ) |
Definition at line 19 of file Combinators.cxx.
|
inline |
Definition at line 26 of file TrigCompositeUtils/TrigCompositeUtils/Combinators.h.
|
private |
Definition at line 44 of file TrigCompositeUtils/TrigCompositeUtils/Combinators.h.
|
private |
Definition at line 43 of file TrigCompositeUtils/TrigCompositeUtils/Combinators.h.