13namespace layer3_group_actions {
14namespace induced_actions {
46 int k,
int verbose_level)
48 int f_v = (verbose_level >= 1);
53 cout <<
"action_on_k_subsets::init k=" <<
k << endl;
62 cout <<
"action_on_k_subsets::init n=" << n << endl;
63 cout <<
"action_on_k_subsets::init "
64 "n choose k=" <<
degree << endl;
69 int *Elt,
long int i,
int verbose_level)
72 int f_v = (verbose_level >= 1);
73 int f_vv = (verbose_level >= 2);
78 cout <<
"action_on_k_subsets::compute_image "
81 if (i < 0 || i >=
degree) {
82 cout <<
"action_on_k_subsets::compute_image "
83 "i = " << i <<
" out of range" << endl;
87 for (u = 0; u <
k; u++) {
95 cout <<
"set " << i <<
" = ";
99 cout <<
" = " << j << endl;
101 if (j < 0 || j >=
degree) {
102 cout <<
"action_on_k_subsets::compute_image "
103 "j = " << j <<
" out of range" << endl;
a collection of combinatorial functions
void unrank_k_subset(int rk, int *set, int n, int k)
int rank_k_subset(int *set, int n, int k)
long int int_n_choose_k(int n, int k)
a collection of functions related to sorted vectors
void int_vec_heapsort(int *v, int len)
a permutation group in a fixed action.
int image_of(void *elt, int a)
void init(actions::action *A, int k, int verbose_level)
long int compute_image(int *Elt, long int i, int verbose_level)
#define Int_vec_print(A, B, C)
the orbiter library for the classification of combinatorial objects