Orbiter 2022
Combinatorial Objects
orbit_node.cpp
Go to the documentation of this file.
1// orbit_node.cpp
2//
3// Anton Betten
4// September 23, 2017
5//
6//
7//
8//
9//
10
12#include "discreta/discreta.h"
15
16using namespace std;
17
18namespace orbiter {
19namespace layer4_classification {
20namespace invariant_relations {
21
23{
24 null();
25}
26
28{
29 freeself();
30}
31
33{
34}
35
37{
38 null();
39}
40
41void orbit_node::init(classification_step *C, int orbit_index,
43 long int *Rep, void *extra_data, int verbose_level)
44{
45 int f_v = (verbose_level >= 1);
46
47 if (f_v) {
48 cout << "orbit_node::init "
49 "orbit_index=" << orbit_index << " rep=";
51 cout << endl;
52 }
56 Lint_vec_copy(Rep,
60}
61
62
63void orbit_node::write_file(ofstream &fp, int verbose_level)
64{
65 int f_v = (verbose_level >= 1);
66
67 if (f_v) {
68 cout << "orbit_node::write_file" << endl;
69 }
70 gens->write_to_file_binary(fp, verbose_level);
71
72 if (f_v) {
73 cout << "orbit_node::write_file finished" << endl;
74 }
75}
76
77void orbit_node::read_file(ifstream &fp, int verbose_level)
78{
79 int f_v = (verbose_level >= 1);
80
81 if (f_v) {
82 cout << "orbit_node::read_file" << endl;
83 }
85 gens->read_from_file_binary(C->A, fp, verbose_level);
86
87 if (f_v) {
88 cout << "orbit_node::read_file finished" << endl;
89 }
90}
91
92
93
94}}}
95
96
a strong generating set for a permutation group with respect to a fixed action
Definition: groups.h:1703
void read_from_file_binary(actions::action *A, std::ifstream &fp, int verbose_level)
void write_to_file_binary(std::ofstream &fp, int verbose_level)
a single step classification of combinatorial objects
Definition: classify.h:29
void read_file(std::ifstream &fp, int verbose_level)
Definition: orbit_node.cpp:77
void init(classification_step *C, int orbit_index, groups::strong_generators *gens, long int *Rep, void *extra_data, int verbose_level)
Definition: orbit_node.cpp:41
void write_file(std::ofstream &fp, int verbose_level)
Definition: orbit_node.cpp:63
#define Lint_vec_copy(A, B, C)
Definition: foundations.h:694
#define NEW_OBJECT(type)
Definition: foundations.h:638
#define Lint_vec_print(A, B, C)
Definition: foundations.h:686
the orbiter library for the classification of combinatorial objects