18namespace layer1_foundations {
19namespace data_structures {
33 int &f_accept,
int verbose_level)
35 int f_v = (verbose_level >= 1);
38 cout <<
"classify_using_canonical_forms::orderly_test" << endl;
45 cout <<
"classify_using_canonical_forms::orderly_test "
46 "before OwCF->run_nauty_basic" << endl;
52 cout <<
"classify_using_canonical_forms::orderly_test "
53 "after OwCF->run_nauty_basic" << endl;
62 int last_row, last_pt;
64 last_row = nb_rows - 1;
69 cout <<
"classify_using_canonical_forms::orderly_test "
70 "last_row=" << last_row <<
" last_pt=" << last_pt
75 cout <<
"classify_using_canonical_forms::orderly_test "
76 "before NO->belong_to_the_same_orbit" << endl;
85 cout <<
"classify_using_canonical_forms::orderly_test "
86 "after NO->belong_to_the_same_orbit f_accept = " << f_accept << endl;
94 cout <<
"classify_using_canonical_forms::orderly_test" << endl;
100 int &f_found,
int &idx,
106 int f_v = (verbose_level >= 1);
109 cout <<
"classify_using_canonical_forms::find_object" << endl;
113 cout <<
"classify_using_canonical_forms::find_object "
114 "before OwCF->run_nauty" << endl;
117 TRUE , Canonical_form,
121 cout <<
"classify_using_canonical_forms::find_object "
122 "after OwCF->run_nauty" << endl;
131 map<uint32_t, int>::iterator itr, itr1, itr2;
136 for (itr = itr1; itr != itr2; ++itr) {
144 cout <<
"classify_using_canonical_forms::find_object "
145 "found object at position " << idx << endl;
152 cout <<
"classify_using_canonical_forms::find_object done" << endl;
158 int &f_new_object,
int verbose_level)
160 int f_v = (verbose_level >= 1);
163 cout <<
"classify_using_canonical_forms::add_object" << endl;
171 cout <<
"classify_using_canonical_forms::add_object "
172 "before OwCF->run_nauty" << endl;
175 TRUE , Canonical_form,
179 cout <<
"classify_using_canonical_forms::add_object "
180 "after OwCF->run_nauty" << endl;
189 map<uint32_t, int>::iterator itr, itr1, itr2;
194 for (itr = itr1; itr != itr2; ++itr) {
225 B.push_back(Canonical_form);
228 Hashing.insert(pair<uint32_t, int>(h, idx));
232 f_new_object =
FALSE;
241 cout <<
"classify_using_canonical_forms::add_object done" << endl;
compact storage of 0/1-data as bitvectors
long int get_allocated_length()
output data created by a run of nauty
ring_theory::longinteger_object * Ago
int belong_to_the_same_orbit(int a, int b, int verbose_level)
a collection of functions related to sorted vectors
int uchar_vec_compare(uchar *p, uchar *q, int len)
the orbiter library for the classification of combinatorial objects