-
Notifications
You must be signed in to change notification settings - Fork 27
/
esl_iset.h
32 lines (29 loc) · 2.05 KB
/
esl_iset.h
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
/* Splitting to independent sets, for benchmarks: Cobalt and Blue algorithms.
* [Petti & Eddy, 2022]
*/
#ifndef eslISET_INCLUDED
#define eslISET_INCLUDED
#include <esl_config.h>
#include "esl_random.h"
extern int esl_iset_monoCobalt(ESL_RANDOMNESS *rng, const void *base, size_t n, size_t size,
int (*linkfunc)(const void *, const void *, const void *, int *), const void *param,
int *workspace, int *assignments);
extern int esl_iset_biCobalt (ESL_RANDOMNESS *rng, const void *base, size_t n, size_t size,
int (*linkfunc)(const void *, const void *, const void *, int *), const void *param,
int *workspace, int *assignments);
extern int esl_iset_monoBlue (ESL_RANDOMNESS *rng, const void *base, size_t n, size_t size,
int (*linkfunc)(const void *, const void *, const void *, int *), const void *param,
int *workspace, int *assignments);
extern int esl_iset_biBlue (ESL_RANDOMNESS *rng, const void *base, size_t n, size_t size,
int (*linkfunc)(const void *, const void *, const void *, int *), const void *param,
int *workspace, int *assignments);
extern int esl_iset_biRandom (ESL_RANDOMNESS *rng, double t_prob, const void *base, size_t n, size_t size,
int (*linkfunc)(const void *, const void *, const void *, int *), const void *param,
int *assignments);
extern int esl_iset_monoValidate(const void *base, size_t n, size_t size,
int (*linkfunc)(const void *, const void *, const void *, int *), const void *param,
int *assignments);
extern int esl_iset_biValidate (const void *base, size_t n, size_t size,
int (*linkfunc)(const void *, const void *, const void *, int *), const void *param,
int *assignments);
#endif /*eslISET_INCLUDED*/