8 #ifndef COMBINATORICS_H
9 #define COMBINATORICS_H
32 const std::vector<UInt_t>& permutation2);
34 const std::vector<UInt_t>& permutation2);
36 const std::vector<UInt_t>& permutation2);
38 const std::vector<UInt_t>& permutation2);
40 void Print(
const std::vector<UInt_t>& permutation);
41 void Print(
const std::vector <std::vector <UInt_t> >& permutations);
52 void Skip_2_0(
const std::vector <std::vector <UInt_t> >& permutation1,
53 std::vector <std::vector <UInt_t> > &permutation2);
54 void Skip_2_2(
const std::vector <std::vector <UInt_t> >& permutation1,
55 std::vector <std::vector <UInt_t> > &permutation2);
57 std::vector<UInt_t>
Rotate(
const std::vector <UInt_t>& permutation, UInt_t digits);
Int_t EqualPermutation_N_1(const std::vector< UInt_t > &permutation1, const std::vector< UInt_t > &permutation2)
std::vector< std::vector< UInt_t > > GetCombinations()
Int_t EqualPermutation_2_2(const std::vector< UInt_t > &permutation1, const std::vector< UInt_t > &permutation2)
std::vector< std::vector< UInt_t > > m_Permutations
std::vector< std::vector< UInt_t > > GetCombinations_N_1()
Combinatorics(Int_t Set, Int_t Subset)
Int_t CalculatePermutations()
const Int_t m_SubsetQuantity
std::vector< UInt_t > m_Subset
Bool_t next_subset(int n, int k, int *subset)
const Int_t m_SetQuantity
std::vector< std::vector< UInt_t > > GetCombinations_2_0()
Int_t EqualPermutation_2_0(const std::vector< UInt_t > &permutation1, const std::vector< UInt_t > &permutation2)
std::vector< std::vector< UInt_t > > m_Combinations
Bool_t next_permutation(int size, int *permutation)
void Skip_2_0(const std::vector< std::vector< UInt_t > > &permutation1, std::vector< std::vector< UInt_t > > &permutation2)
std::vector< std::vector< UInt_t > > GetPermutations()
std::vector< std::vector< UInt_t > > GetCombinations_2_2()
void Print(const std::vector< UInt_t > &permutation)
Int_t EqualPermutation(const std::vector< UInt_t > &permutation1, const std::vector< UInt_t > &permutation2)
void initial_permutation(int size, int *permutation)
void initial_subset(int k, int *subset)
tuple size
Write out results.
std::vector< UInt_t > Rotate(const std::vector< UInt_t > &permutation, UInt_t digits)
void Skip_2_2(const std::vector< std::vector< UInt_t > > &permutation1, std::vector< std::vector< UInt_t > > &permutation2)