struct_hook2 Struct Reference

Detailed Description

saves information of the permutation

Definition at line 56 of file bliss_automorph.cpp.

Public Member Functions

 struct_hook2 (SCIP_HASHMAP *varmap, SCIP_HASHMAP *consmap, SCIP_Bool aut, unsigned int n, SCIP **scips)
 
 ~struct_hook2 ()
 
SCIP_Bool getBool ()
 
void setBool (SCIP_Bool aut)
 
void setNewDetectionStuff (gcg::Seeedpool *seeedpool, gcg::Seeed *seeed, std::vector< int > blocks)
 
unsigned int getNNodes ()
 
SCIP_HASHMAP * getVarHash ()
 
SCIP_HASHMAP * getConsHash ()
 
SCIP ** getScips ()
 

Public Attributes

SCIP_Bool aut
 
unsigned int n
 
SCIP_HASHMAP * varmap
 
SCIP_HASHMAP * consmap
 
SCIP ** scips
 
int * nodemap
 
int * conssperm
 
gcg::Seeedpoolseeedpool
 
gcg::Seeedseeed
 
std::vector< int > blocks
 
SCIP * scip
 
int ncalls
 

Constructor & Destructor Documentation

struct_hook2::struct_hook2 ( SCIP_HASHMAP *  varmap_,
SCIP_HASHMAP *  consmap_,
SCIP_Bool  aut_,
unsigned int  n_,
SCIP **  scips_ 
)

constructor for the hook struct

constructor of the hook struct

Parameters
varmap_hashmap for permutated variables
consmap_hashmap for permutated constraints
aut_true if there is an automorphism
n_number of permutations
scips_array of scips to search for automorphisms

Definition at line 175 of file bliss_automorph.cpp.

References aut, blocks, consmap, conssperm, n, ncalls, nodemap, scips, seeed, seeedpool, and varmap.

struct_hook2::~struct_hook2 ( )

destructor for hook struct

Definition at line 138 of file bliss_automorph.cpp.

References conssperm, seeed, and seeedpool.

Member Function Documentation

SCIP_Bool struct_hook2::getBool ( )

getter for the bool aut

Definition at line 149 of file bliss_automorph.cpp.

References aut.

Referenced by cmpGraphPair(), cmpGraphPairNewdetection(), and fhook().

SCIP_HASHMAP * struct_hook2::getConsHash ( )

getter for the constraints hashmap

Definition at line 164 of file bliss_automorph.cpp.

References consmap.

Referenced by fhook().

unsigned int struct_hook2::getNNodes ( )

getter for the number of nodes

Definition at line 154 of file bliss_automorph.cpp.

References n.

Referenced by fhook().

SCIP ** struct_hook2::getScips ( )

getter for the SCIPs

Definition at line 169 of file bliss_automorph.cpp.

References scips.

Referenced by fhook().

SCIP_HASHMAP * struct_hook2::getVarHash ( )

getter for the variables hashmap

Definition at line 159 of file bliss_automorph.cpp.

References varmap.

Referenced by fhook().

void struct_hook2::setBool ( SCIP_Bool  aut)

setter for the bool aut

Definition at line 116 of file bliss_automorph.cpp.

References aut.

Referenced by fhook().

void struct_hook2::setNewDetectionStuff ( gcg::Seeedpool seeedpool,
gcg::Seeed seeed,
std::vector< int >  blocks 
)

setter for new detection stuff

Definition at line 122 of file bliss_automorph.cpp.

References blocks, conssperm, gcg::Seeedpool::getNConss(), gcg::Seeedpool::getScip(), seeed, and seeedpool.

Referenced by cmpGraphPairNewdetection().

Member Data Documentation

SCIP_Bool struct_hook2::aut

true if there is an automorphism

Definition at line 58 of file bliss_automorph.cpp.

Referenced by getBool(), setBool(), and struct_hook2().

std::vector<int> struct_hook2::blocks

array of blocks the automporphisms are searched for

Definition at line 67 of file bliss_automorph.cpp.

Referenced by cmpGraphPairNewdetection(), fhook(), setNewDetectionStuff(), and struct_hook2().

SCIP_HASHMAP* struct_hook2::consmap

hashmap for permutated constraints

Definition at line 61 of file bliss_automorph.cpp.

Referenced by getConsHash(), and struct_hook2().

int* struct_hook2::conssperm

mapping of constraints

Definition at line 64 of file bliss_automorph.cpp.

Referenced by setNewDetectionStuff(), struct_hook2(), and ~struct_hook2().

unsigned int struct_hook2::n

number of permutations

Definition at line 59 of file bliss_automorph.cpp.

Referenced by fhook(), getNNodes(), and struct_hook2().

int struct_hook2::ncalls

Definition at line 69 of file bliss_automorph.cpp.

Referenced by cmpGraphPair(), cmpGraphPairNewdetection(), fhook(), and struct_hook2().

int* struct_hook2::nodemap

mapping of the nodes; filled generator-wise

Definition at line 63 of file bliss_automorph.cpp.

Referenced by cmpGraphPair(), cmpGraphPairNewdetection(), fhook(), and struct_hook2().

SCIP* struct_hook2::scip

Definition at line 68 of file bliss_automorph.cpp.

Referenced by createGraphNewDetection(), and setuparraysnewdetection().

SCIP** struct_hook2::scips

array of scips to search for automorphisms

Definition at line 62 of file bliss_automorph.cpp.

Referenced by cmpGraphPair(), getScips(), and struct_hook2().

gcg::Seeed* struct_hook2::seeed

decomposition information

Definition at line 66 of file bliss_automorph.cpp.

Referenced by cmpGraphPairNewdetection(), fhook(), setNewDetectionStuff(), struct_hook2(), and ~struct_hook2().

gcg::Seeedpool* struct_hook2::seeedpool

problem information the automorphism should be searched for

Definition at line 65 of file bliss_automorph.cpp.

Referenced by cmpGraphPairNewdetection(), fhook(), setNewDetectionStuff(), struct_hook2(), and ~struct_hook2().

SCIP_HASHMAP* struct_hook2::varmap

hashmap for permutated variables

Definition at line 60 of file bliss_automorph.cpp.

Referenced by getVarHash(), and struct_hook2().