8 #ifndef COMBINATORICS_H
9 #define COMBINATORICS_H
32 std::vector<UInt_t> permutation2);
34 std::vector<UInt_t> permutation2);
36 std::vector<UInt_t> permutation2);
38 std::vector<UInt_t> permutation2);
40 void Print(std::vector<UInt_t> permutation);
41 void Print(std::vector <std::vector <UInt_t> > permutations);
52 void Skip_2_0(std::vector <std::vector <UInt_t> > permutation1,
53 std::vector <std::vector <UInt_t> > &permutation2);
54 void Skip_2_2(std::vector <std::vector <UInt_t> > permutation1,
55 std::vector <std::vector <UInt_t> > &permutation2);
57 std::vector<UInt_t>
Rotate(std::vector <UInt_t> permutation,
UInt_t digits);
Int_t EqualPermutation_2_2(std::vector< UInt_t > permutation1, std::vector< UInt_t > permutation2)
std::vector< std::vector< UInt_t > > GetCombinations()
std::vector< std::vector< UInt_t > > m_Permutations
Int_t EqualPermutation_2_0(std::vector< UInt_t > permutation1, std::vector< UInt_t > permutation2)
Int_t EqualPermutation_N_1(std::vector< UInt_t > permutation1, std::vector< UInt_t > permutation2)
std::vector< std::vector< UInt_t > > GetCombinations_N_1()
std::vector< UInt_t > Rotate(std::vector< UInt_t > permutation, UInt_t digits)
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()
std::vector< std::vector< UInt_t > > m_Combinations
Bool_t next_permutation(int size, int *permutation)
std::vector< std::vector< UInt_t > > GetPermutations()
std::vector< std::vector< UInt_t > > GetCombinations_2_2()
void Skip_2_0(std::vector< std::vector< UInt_t > > permutation1, std::vector< std::vector< UInt_t > > &permutation2)
void Skip_2_2(std::vector< std::vector< UInt_t > > permutation1, std::vector< std::vector< UInt_t > > &permutation2)
void initial_permutation(int size, int *permutation)
void initial_subset(int k, int *subset)
Int_t EqualPermutation(std::vector< UInt_t > permutation1, std::vector< UInt_t > permutation2)
void Print(std::vector< UInt_t > permutation)
tuple size
Write out results.