aboutsummaryrefslogtreecommitdiff
path: root/src_c/csp.h
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2021-12-22 19:35:48 +0100
committerbozo.kopic <bozo@kopic.xyz>2021-12-22 19:35:48 +0100
commit1a19c238e3741931db9e61b6a0b79259b5ed0753 (patch)
tree7e5d705e423583188b346bbb7e7486f808b66bc8 /src_c/csp.h
parent923e73a50320792bbedb945b45c54dab12d44708 (diff)
WIP c implementation
Diffstat (limited to 'src_c/csp.h')
-rw-r--r--src_c/csp.h23
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