tclique.h
Go to the documentation of this file.
24 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/ 38 typedef struct TCLIQUE_Graph TCLIQUE_GRAPH; /**< user defined structure for storing the graph, passed to graph callbacks */ 39 typedef struct TCLIQUE_Data TCLIQUE_DATA; /**< user defined data to pass to new solution callback method */ 77 #define TCLIQUE_NEWSOL(x) void x (TCLIQUE_DATA* tcliquedata, int* cliquenodes, int ncliquenodes, \ 78 TCLIQUE_WEIGHT cliqueweight, TCLIQUE_WEIGHT* minweight, TCLIQUE_Bool* acceptsol, TCLIQUE_Bool* stopsolving) 106 /** user callback method to select all nodes from a given set of nodes which are adjacent to a given node 119 #define TCLIQUE_SELECTADJNODES(x) int x (TCLIQUE_GRAPH* tcliquegraph, int node, int* nodes, int nnodes, int* adjnodes) 164 /** adds nodes up to the given node number to graph data structure (intermediate nodes have weight 0) */ 183 * New edges are cached, s.t. the graph data structures are not correct until a call to tcliqueFlush(); 204 double scaleval, /**< value to scale weights (only integral part of scaled weights is considered) */ 270 TCLIQUE_GRAPH* tcliquegraph, /**< pointer to graph data structure that is passed to graph callbacks */ 276 TCLIQUE_WEIGHT maxfirstnodeweight, /**< maximum weight of branching nodes in level 0; 0 if not used 280 int backtrackfreq, /**< frequency to backtrack to first level of tree (0: no premature backtracking) */ 282 int fixednode, /**< node that is forced to be in the clique, or -1; must have positive weight */
TCLIQUE_Bool tcliqueCreate(TCLIQUE_GRAPH **tcliquegraph) Definition: tclique_graph.c:175 TCLIQUE_Bool tcliqueSaveFile(TCLIQUE_GRAPH *tcliquegraph, const char *filename, double scaleval, const char *probname) Definition: tclique_graph.c:720 TCLIQUE_Bool tcliqueAddNode(TCLIQUE_GRAPH *tcliquegraph, int node, TCLIQUE_WEIGHT weight) Definition: tclique_graph.c:330 Definition: tclique.h:55 TCLIQUE_Bool tcliqueLoadFile(TCLIQUE_GRAPH **tcliquegraph, const char *filename, double scaleval, char *probname, int sizeofprobname) Definition: tclique_graph.c:542 Definition: cons_sos1.c:205 TCLIQUE_Bool tcliqueAddEdge(TCLIQUE_GRAPH *tcliquegraph, int node1, int node2) Definition: tclique_graph.c:370 void tcliqueChangeWeight(TCLIQUE_GRAPH *tcliquegraph, int node, TCLIQUE_WEIGHT weight) Definition: tclique_graph.c:352 int * tcliqueGetDegrees(TCLIQUE_GRAPH *tcliquegraph) Definition: tclique_graph.c:774 void tcliqueMaxClique(TCLIQUE_GETNNODES((*getnnodes)), TCLIQUE_GETWEIGHTS((*getweights)), TCLIQUE_ISEDGE((*isedge)), TCLIQUE_SELECTADJNODES((*selectadjnodes)), TCLIQUE_GRAPH *tcliquegraph, TCLIQUE_NEWSOL((*newsol)), TCLIQUE_DATA *tcliquedata, int *maxcliquenodes, int *nmaxcliquenodes, TCLIQUE_WEIGHT *maxcliqueweight, TCLIQUE_WEIGHT maxfirstnodeweight, TCLIQUE_WEIGHT minweight, int maxntreenodes, int backtrackfreq, int maxnzeroextensions, int fixednode, int *ntreenodes, TCLIQUE_STATUS *status) Definition: tclique_branch.c:1000 int * tcliqueGetLastAdjedge(TCLIQUE_GRAPH *tcliquegraph, int node) Definition: tclique_graph.c:820 Definition: tclique.h:53 int * tcliqueGetFirstAdjedge(TCLIQUE_GRAPH *tcliquegraph, int node) Definition: tclique_graph.c:796 Definition: tclique.h:52 int * tcliqueGetAdjnodes(TCLIQUE_GRAPH *tcliquegraph) Definition: tclique_graph.c:785 Definition: tclique.h:54 |