diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2021-12-27 23:03:52 +0100 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2021-12-27 23:04:04 +0100 |
| commit | b0aedec7bb1eacf5967a8f086fc7740048873a58 (patch) | |
| tree | a56e148380f7818a18036daf95d0ebde036e505c /src_c/csp.h | |
| parent | fd0be422180178516d6d2bf3fb1f343c9ab79e53 (diff) | |
WIP c implementation
Diffstat (limited to 'src_c/csp.h')
| -rw-r--r-- | src_c/csp.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src_c/csp.h b/src_c/csp.h index 3a7cd45..c88c749 100644 --- a/src_c/csp.h +++ b/src_c/csp.h @@ -1,5 +1,5 @@ -#ifndef OPCUT_POOL_H -#define OPCUT_POOL_H +#ifndef OPCUT_CSP_H +#define OPCUT_CSP_H #include <stddef.h> #include "common.h" @@ -13,8 +13,9 @@ typedef enum { 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, + +int opcut_calculate(opcut_pool_t *used_pool, opcut_pool_t *unused_pool, + opcut_method_t method, opcut_params_t *params, opcut_result_t *result); #ifdef __cplusplus |
