Detailed Description
saves information of the permutation
Definition at line 54 of file automorphism.cpp.
Public Member Functions | |
| AUT_HOOK2 (SCIP_HASHMAP *varmap_, SCIP_HASHMAP *consmap_, unsigned int n_, AUT_GRAPH *graph_, gcg::PARTIALDECOMP *partialdec_, std::vector< int > *blocks_) | |
| ~AUT_HOOK2 () | |
| SCIP_Bool | getBool () |
| void | setBool (SCIP_Bool aut) |
| unsigned int | getNNodes () |
| SCIP_HASHMAP * | getVarHash () |
| SCIP_HASHMAP * | getConsHash () |
| AUT_GRAPH * | getGraph () |
Data Fields | |
| SCIP_Bool | aut |
| unsigned int | n |
| SCIP_HASHMAP * | varmap |
| SCIP_HASHMAP * | consmap |
| SCIP ** | scips |
| int * | nodemap |
| int * | conssperm |
| gcg::DETPROBDATA * | detprobdata |
| gcg::PARTIALDECOMP * | partialdec |
| std::vector< int > * | blocks |
| SCIP * | scip |
| int | ncalls |
| int | generatorlimit |
| AUT_GRAPH * | graph |
Constructor & Destructor Documentation
◆ AUT_HOOK2()
| AUT_HOOK2::AUT_HOOK2 | ( | SCIP_HASHMAP * | varmap_, |
| SCIP_HASHMAP * | consmap_, | ||
| unsigned int | n_, | ||
| AUT_GRAPH * | graph_, | ||
| gcg::PARTIALDECOMP * | partialdec_, | ||
| std::vector< int > * | blocks_ ) |
constructor for the hook struct
constructor of the hook struct
- Parameters
-
varmap_ hashmap for permutated variables consmap_ hashmap for permutated constraints n_ number of permutations graph_ graph used to search for automorphisms partialdec_ partialdec the graphs should be compared for blocks_ array of blocks the automporphisms are searched for
Definition at line 150 of file automorphism.cpp.
References aut, blocks, consmap, conssperm, detprobdata, generatorlimit, gcg::PARTIALDECOMP::getDetprobdata(), gcg::DETPROBDATA::getNConss(), gcg::DETPROBDATA::getScip(), graph, i, n, ncalls, nodemap, partialdec, and varmap.
Referenced by cmpGraphPair().
◆ ~AUT_HOOK2()
| AUT_HOOK2::~AUT_HOOK2 | ( | ) |
destructor for hook struct
Definition at line 112 of file automorphism.cpp.
References conssperm, detprobdata, nodemap, and partialdec.
Member Function Documentation
◆ getBool()
| SCIP_Bool AUT_HOOK2::getBool | ( | ) |
getter for the bool aut
Definition at line 124 of file automorphism.cpp.
References aut.
Referenced by cmpGraphPair(), and fhook().
◆ setBool()
| void AUT_HOOK2::setBool | ( | SCIP_Bool | aut | ) |
setter for the bool aut
Definition at line 106 of file automorphism.cpp.
References aut.
Referenced by fhook().
◆ getNNodes()
| unsigned int AUT_HOOK2::getNNodes | ( | ) |
getter for the number of nodes
Definition at line 129 of file automorphism.cpp.
References n.
Referenced by fhook().
◆ getVarHash()
| SCIP_HASHMAP * AUT_HOOK2::getVarHash | ( | ) |
getter for the variables hashmap
Definition at line 134 of file automorphism.cpp.
References varmap.
Referenced by fhook().
◆ getConsHash()
| SCIP_HASHMAP * AUT_HOOK2::getConsHash | ( | ) |
getter for the constraints hashmap
Definition at line 139 of file automorphism.cpp.
References consmap.
Referenced by fhook().
◆ getGraph()
| AUT_GRAPH * AUT_HOOK2::getGraph | ( | ) |
getter for the graph
Definition at line 144 of file automorphism.cpp.
References graph.
Referenced by fhook().
Field Documentation
◆ aut
| SCIP_Bool AUT_HOOK2::aut |
true if there is an automorphism
Definition at line 56 of file automorphism.cpp.
Referenced by AUT_HOOK2(), getBool(), and setBool().
◆ n
| unsigned int AUT_HOOK2::n |
number of permutations
Definition at line 57 of file automorphism.cpp.
Referenced by AUT_HOOK2(), and getNNodes().
◆ varmap
| SCIP_HASHMAP* AUT_HOOK2::varmap |
hashmap for permutated variables
Definition at line 58 of file automorphism.cpp.
Referenced by AUT_HOOK2(), and getVarHash().
◆ consmap
| SCIP_HASHMAP* AUT_HOOK2::consmap |
hashmap for permutated constraints
Definition at line 59 of file automorphism.cpp.
Referenced by AUT_HOOK2(), and getConsHash().
◆ scips
| SCIP** AUT_HOOK2::scips |
array of scips to search for automorphisms
Definition at line 60 of file automorphism.cpp.
◆ nodemap
| int* AUT_HOOK2::nodemap |
mapping of the nodes; filled generator-wise
Definition at line 61 of file automorphism.cpp.
Referenced by AUT_HOOK2(), fhook(), and ~AUT_HOOK2().
◆ conssperm
| int* AUT_HOOK2::conssperm |
mapping of constraints
Definition at line 62 of file automorphism.cpp.
Referenced by AUT_HOOK2(), and ~AUT_HOOK2().
◆ detprobdata
| gcg::DETPROBDATA* AUT_HOOK2::detprobdata |
problem information the automorphism should be searched for
Definition at line 63 of file automorphism.cpp.
Referenced by AUT_HOOK2(), fhook(), and ~AUT_HOOK2().
◆ partialdec
| gcg::PARTIALDECOMP* AUT_HOOK2::partialdec |
decomposition information
Definition at line 64 of file automorphism.cpp.
Referenced by AUT_HOOK2(), fhook(), and ~AUT_HOOK2().
◆ blocks
| std::vector<int>* AUT_HOOK2::blocks |
array of blocks the automporphisms are searched for
Definition at line 65 of file automorphism.cpp.
Referenced by AUT_HOOK2(), and fhook().
◆ scip
| SCIP* AUT_HOOK2::scip |
SCIP data structure
Definition at line 66 of file automorphism.cpp.
◆ ncalls
| int AUT_HOOK2::ncalls |
number of calls of this hook
Definition at line 67 of file automorphism.cpp.
Referenced by AUT_HOOK2(), cmpGraphPair(), and fhook().
◆ generatorlimit
| int AUT_HOOK2::generatorlimit |
generator limit
Definition at line 68 of file automorphism.cpp.
Referenced by AUT_HOOK2(), cmpGraphPair(), and fhook().
◆ graph
| AUT_GRAPH* AUT_HOOK2::graph |
graph used to search for automorphisms
Definition at line 69 of file automorphism.cpp.
Referenced by AUT_HOOK2(), and getGraph().