Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagesmc
Path: blob/master/src/sage/graphs/cliquer/cl.h
8815 views
1
2
#include <stdio.h>
3
#include <stdlib.h>
4
#include <unistd.h>
5
6
#ifdef ENABLE_LONG_OPTIONS
7
#include <getopt.h>
8
#endif
9
10
#include "cliquer/cliquer.h"
11
12
13
#define TRYFORHELP "Try `%s -h' for more information.\n",argv[0]
14
15
void printhelp(char *prog);
16
void read_options(int argc, char **argv);
17
void print_search(graph_t *g);
18
boolean record_clique_func(set_t s,graph_t *g,clique_options *opts);
19
boolean print_clique_func(set_t s,graph_t *g,clique_options *opts);
20
void print_clique(set_t s,graph_t *g);
21
22
// As the global variables remain between two SAGE call, they
23
// have to be reset each time
24
void sage_reset_global_variables();
25
// The opt structure has to be initialised in each SAGE function
26
clique_options * sage_init_clique_opt();
27
// Computes a maximum clique of the graph g and return its size
28
// The table list contains the ID of the vertices
29
int sage_clique_max(graph_t *g,int **list);
30
int sage_all_clique_max(graph_t *g,int **list);
31
int sage_clique_number(graph_t *g);
32
33
34
35