Orbiter 2022
Combinatorial Objects
orbit_rep.cpp
Go to the documentation of this file.
1// orbit_rep.cpp
2//
3// Anton Betten
4// started Nov 6, 2012
5//
6//
7//
8//
9//
10
12#include "group_actions.h"
13
14using namespace std;
15
16
17namespace orbiter {
18namespace layer3_group_actions {
19namespace data_structures_groups {
20
22{
23 A = NULL;
26 level = 0;
28 nb_cases = 0;
29 rep = NULL;
30 Stab = NULL;
31 Strong_gens = NULL;
32 stab_go = NULL;
33 candidates = NULL;
34 nb_candidates = 0;
35 null();
36}
37
39{
40 freeself();
41}
42
44{
45}
46
48{
49 if (rep) {
51 }
52 if (Stab) {
54 }
55 if (Strong_gens) {
57 }
58 if (candidates) {
60 }
61 if (stab_go) {
63 }
64 null();
65}
66
68 actions::action *A, std::string &prefix,
69 int level, int orbit_at_level, int level_of_candidates_file,
70 void (*early_test_func_callback)(long int *S, int len,
71 long int *candidates, int nb_candidates,
72 long int *good_candidates, int &nb_good_candidates,
73 void *data, int verbose_level),
74 void *early_test_func_callback_data,
75 int verbose_level)
76{
77 int f_v = (verbose_level >= 1);
78 int rep_sz;
79
80 if (f_v) {
81 cout << "orbit_rep::init_from_file orbit_at_level=" << orbit_at_level << endl;
82 }
88
89 if (f_v) {
90 cout << "orbit_rep::init_from_file before A->read_orbit_rep_and_candidates_from_files_and_process" << endl;
91 }
93 level, orbit_at_level, level_of_candidates_file,
96 rep,
97 rep_sz,
98 Stab,
102 nb_cases,
103 verbose_level);
104 if (f_v) {
105 cout << "orbit_rep::init_from_file after A->read_orbit_rep_and_candidates_from_files_and_process" << endl;
106 }
107
108#if 0
109 void action::read_orbit_rep_and_candidates_from_files_and_process(
110 char *prefix,
111 int level, int orbit_at_level, int level_of_candidates_file,
112 void (*early_test_func_callback)(long int *S, int len,
113 long int *candidates, int nb_candidates,
114 long int *good_candidates, int &nb_good_candidates,
115 void *data, int verbose_level),
117 long int *&starter,
118 int &starter_sz,
119 sims *&Stab,
120 strong_generators *&Strong_gens,
121 long int *&candidates,
122 int &nb_candidates,
123 int &nb_cases,
124 int verbose_level)
125#endif
126
129
130 if (f_v) {
131 cout << "orbit_rep::init_from_file orbit_at_level="
132 << orbit_at_level << " done, "
133 "stabilizer order = " << *stab_go << endl;
134 }
135
136}
137
138}}}
139
140
141
a class to represent arbitrary precision integers
Definition: ring_theory.h:366
a permutation group in a fixed action.
Definition: actions.h:99
void read_orbit_rep_and_candidates_from_files_and_process(std::string &prefix, int level, int orbit_at_level, int level_of_candidates_file, void(*early_test_func_callback)(long int *S, int len, long int *candidates, int nb_candidates, long int *good_candidates, int &nb_good_candidates, void *data, int verbose_level), void *early_test_func_callback_data, long int *&starter, int &starter_sz, groups::sims *&Stab, groups::strong_generators *&Strong_gens, long int *&candidates, int &nb_candidates, int &nb_cases, int verbose_level)
Definition: action_io.cpp:203
void(* early_test_func_callback)(long int *S, int len, long int *candidates, int nb_candidates, long int *good_candidates, int &nb_good_candidates, void *data, int verbose_level)
void init_from_file(actions::action *A, std::string &prefix, int level, int orbit_at_level, int level_of_candidates_file, void(*early_test_func_callback)(long int *S, int len, long int *candidates, int nb_candidates, long int *good_candidates, int &nb_good_candidates, void *data, int verbose_level), void *early_test_func_callback_data, int verbose_level)
Definition: orbit_rep.cpp:67
void group_order(ring_theory::longinteger_object &go)
Definition: sims.cpp:951
#define NEW_OBJECT(type)
Definition: foundations.h:638
#define FREE_OBJECT(p)
Definition: foundations.h:651
#define FREE_lint(p)
Definition: foundations.h:642
the orbiter library for the classification of combinatorial objects