aboutsummaryrefslogtreecommitdiff
path: root/src_c/csp.h
blob: 3a7cd455d9a2f5d2c2299bf2f5e730cf23b09d3a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef OPCUT_POOL_H
#define OPCUT_POOL_H

#include <stddef.h>
#include "common.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef enum {
    OPCUT_METHOD_GREEDY,
    OPCUT_METHOD_FORWARD_GREEDY
} opcut_method_t;

void opcut_sort_params(opcut_params_t *params);
int opcut_calculate(opcut_method_t method, opcut_params_t *params,
                    opcut_result_t *result);

#ifdef __cplusplus
}
#endif

#endif