/usr/include/cliquer/cliquer.h is in libcliquer-dev 1.21-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | #ifndef CLIQUER_H
#define CLIQUER_H
#include <string.h>
#include "set.h"
#include "graph.h"
#include "reorder.h"
typedef struct _clique_options clique_options;
struct _clique_options {
int *(*reorder_function)(graph_t *, boolean);
int *reorder_map;
/* arguments: level, n, max, user_time, system_time, opts */
boolean (*time_function)(int,int,int,int,double,double,
clique_options *);
FILE *output;
boolean (*user_function)(set_t,graph_t *,clique_options *);
void *user_data;
set_t *clique_list;
int clique_list_length;
};
PUBLIC clique_options *clique_default_options;
/* Weighted clique functions */
PUBLIC int clique_max_weight(graph_t *g,clique_options *opts);
PUBLIC set_t clique_find_single(graph_t *g,int min_weight,int max_weight,
boolean maximal, clique_options *opts);
PUBLIC int clique_find_all(graph_t *g, int req_weight, boolean exact,
boolean maximal, clique_options *opts);
/* Unweighted clique functions */
#define clique_unweighted_max_size clique_unweighted_max_weight
PUBLIC int clique_unweighted_max_weight(graph_t *g, clique_options *opts);
PUBLIC set_t clique_unweighted_find_single(graph_t *g,int min_size,
int max_size,boolean maximal,
clique_options *opts);
PUBLIC int clique_unweighted_find_all(graph_t *g, int min_size, int max_size,
boolean maximal, clique_options *opts);
/* Time printing functions */
PUBLIC boolean clique_print_time(int level, int i, int n, int max,
double cputime, double realtime,
clique_options *opts);
PUBLIC boolean clique_print_time_always(int level, int i, int n, int max,
double cputime, double realtime,
clique_options *opts);
/* Alternate spelling (let's be a little forgiving): */
#define cliquer_options clique_options
#define cliquer_default_options clique_default_options
#endif /* !CLIQUER_H */
|