Detailed Description
automorphism recognition (C++ interface)
Definition in file automorphism.hpp.
#include "gcg/class_partialdecomp.h"Go to the source code of this file.
Functions | |
| SCIP_RETCODE | cmpGraphPair (SCIP *scip, gcg::PARTIALDECOMP *partialdec, int block1, int block2, SCIP_RESULT *result, SCIP_HASHMAP *varmap, SCIP_HASHMAP *consmap, unsigned int searchnodelimit, unsigned int generatorlimit) |
Function Documentation
◆ cmpGraphPair()
| SCIP_RETCODE cmpGraphPair | ( | SCIP * | scip, |
| gcg::PARTIALDECOMP * | partialdec, | ||
| int | block1, | ||
| int | block2, | ||
| SCIP_RESULT * | result, | ||
| SCIP_HASHMAP * | varmap, | ||
| SCIP_HASHMAP * | consmap, | ||
| unsigned int | searchnodelimit, | ||
| unsigned int | generatorlimit ) |
compare two graphs w.r.t. automorphism
- Parameters
-
scip SCIP data structure partialdec partialdec the graphs should be compared for block1 index of first pricing prob block2 index of second pricing prob result result pointer to indicate success or failure varmap hashmap to save permutation of variables consmap hashmap to save permutation of constraints searchnodelimit search node limit generatorlimit generator limit
Definition at line 845 of file automorphism.cpp.
References allocMemoryNewDetection(), assert(), AUT_HOOK2::AUT_HOOK2(), cmpGraphPair(), createGraphNewDetection(), fhook(), freeMemory(), AUT_HOOK2::generatorlimit, AUT_HOOK2::getBool(), gcg::PARTIALDECOMP::getDetprobdata(), gcg::PARTIALDECOMP::getNCoeffsForBlock(), gcg::PARTIALDECOMP::getNCoeffsForMaster(), gcg::PARTIALDECOMP::getNConssForBlock(), gcg::PARTIALDECOMP::getNMasterconss(), gcg::PARTIALDECOMP::getNVarsForBlock(), AUT_HOOK2::ncalls, nvars, result, SCIP_CALL(), SCIPdebugMessage(), and setuparraysnewdetection().
Referenced by cmpGraphPair().