From 1a19c238e3741931db9e61b6a0b79259b5ed0753 Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Wed, 22 Dec 2021 19:35:48 +0100 Subject: WIP c implementation --- src_c/csp.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src_c/csp.h (limited to 'src_c/csp.h') 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 +#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 -- cgit v1.2.3-70-g09d2