Orbiter 2022
Combinatorial Objects
sandbox.cpp
Go to the documentation of this file.
1/*
2 * sandbox.cpp
3 *
4 * Created on: Apr 2, 2021
5 * Author: betten
6 */
7
8
9
10
11#include "orbiter.h"
12
13using namespace std;
14using namespace orbiter;
15
16
17int main()
18{
19#if 0
20 finite_field F;
21 F.finite_field_init(16, FALSE /* f_without_tables */, 0);
22
23 cout << "8 x 15 = " << F.mult(8, 15) << endl;
24#endif
25#if 1
26 int verbose_level = 2;
27 int nb_gens = 3;
28 int base_len = 2;
29 long int given_base[] = {0, 8};
30 int generators[] = {
31 0, 4, 3, 2, 1, 6, 5, 11, 9, 8, 18, 7, 15, 16, 17, 12, 13, 14, 10, 20, 19, 22, 21, 23, 25, 24, 26, 34, 33, 31, 32, 29, 30, 28, 27, 37, 38, 35, 36, 40, 39, 46, 42, 45, 47, 43, 41, 44,
32 0, 2, 1, 6, 5, 4, 3, 11, 12, 13, 14, 7, 8, 9, 10, 16, 15, 20, 19, 18, 17, 22, 21, 23, 24, 26, 25, 29, 30, 27, 28, 37, 38, 36, 35, 34, 33, 31, 32, 43, 41, 40, 44, 39, 42, 46, 45, 47,
33 1, 0, 2, 8, 7, 9, 10, 4, 3, 5, 6, 13, 14, 11, 12, 18, 21, 17, 15, 22, 23, 16, 19, 20, 24, 27, 28, 25, 26, 30, 29, 33, 39, 31, 35, 34, 40, 41, 42, 32, 36, 37, 38, 44, 43, 46, 45, 47,
34 };
35 int degree = 48;
36 int target_go_lint = 144;
37 int nb_rows = 24;
39
40 target_go.create(target_go_lint, __FILE__, __LINE__);
42 int f_no_base = FALSE;
43
45
47 TRUE /* f_target_go */, target_go,
48 nb_gens, generators,
49 base_len, given_base,
50 f_no_base,
51 verbose_level);
52
55 A->print_base();
56 A->print_info();
57
59
61
62
63 A2 = A->induced_action_on_interior_direct_product(nb_rows, verbose_level);
64
65 A2->print_info();
66 A2->compute_orbits_on_points(Sch, A->Strong_gens->gens, verbose_level);
67
68 cout << "Orbit:" << endl;
70 cout, A /*default_action*/, A->Strong_gens,
71 verbose_level);
72
73#endif
74}
75
a class to represent arbitrary precision integers
Definition: ring_theory.h:366
void create(long int i, const char *file, int line)
a permutation group in a fixed action.
Definition: actions.h:99
action * induced_action_on_interior_direct_product(int nb_rows, int verbose_level)
groups::strong_generators * Strong_gens
Definition: actions.h:130
void init_permutation_group_from_generators(int degree, int f_target_go, ring_theory::longinteger_object &target_go, int nb_gens, int *gens, int given_base_length, long int *given_base, int f_no_base, int verbose_level)
void compute_orbits_on_points(groups::schreier *&Sch, data_structures_groups::vector_ge *gens, int verbose_level)
Definition: action.cpp:2519
Schreier trees for orbits of groups on points.
Definition: groups.h:839
void print_and_list_all_orbits_and_stabilizers_with_list_of_elements_tex(std::ostream &ost, actions::action *default_action, strong_generators *gens, int verbose_level)
data_structures_groups::vector_ge * gens
Definition: groups.h:1708
#define NEW_OBJECT(type)
Definition: foundations.h:638
#define TRUE
Definition: foundations.h:231
#define FALSE
Definition: foundations.h:234
the orbiter library for the classification of combinatorial objects
int main()
Definition: sandbox.cpp:17