drawings_of_cliques
|
Structure to go through only needed fingerprints. First try all rellabilings of rotation producing "12345" and then all producing "15432". Then move the another vertex. More...
#include <functions.hpp>
Public Member Functions | |
string | create_permutation (const string &rotation1, const string &roration2) |
smart_permutations (const string &fingerprint, int number_of_vertices) | |
string | next () |
Public Attributes | |
string | fingerprint |
int | number_of_vertices |
bool | done = false |
string | first_rotation |
string | result |
bool | invers = false |
int | counter = 0 |
int | counter_rotation = 0 |
Structure to go through only needed fingerprints. First try all rellabilings of rotation producing "12345" and then all producing "15432". Then move the another vertex.
This is equivalent to first try all posible relabeling to get "12345" and then the same for inverse. Altough we want inverse rotation, in find_canonic_fingerprint
we try inverse, therefore from relabeling "15432" we get also "12345".
|
inline |
|
inline |
|
inline |
int smart_permutations::counter = 0 |
int smart_permutations::counter_rotation = 0 |
bool smart_permutations::done = false |
string smart_permutations::fingerprint |
string smart_permutations::first_rotation |
bool smart_permutations::invers = false |
int smart_permutations::number_of_vertices |
string smart_permutations::result |