diff options
Diffstat (limited to 'src_c/csp.h')
| -rw-r--r-- | src_c/csp.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src_c/csp.h b/src_c/csp.h new file mode 100644 index 0000000..2cccf50 --- /dev/null +++ b/src_c/csp.h @@ -0,0 +1,23 @@ +#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; + +int opcut_calculate(opcut_method_t method, opcut_params_t *params, + opcut_result_t *result); + +#ifdef __cplusplus +} +#endif + +#endif |
