aboutsummaryrefslogtreecommitdiff
path: root/include/negamax.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/negamax.h')
-rw-r--r--include/negamax.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/negamax.h b/include/negamax.h
index e491baa..eedb7dd 100644
--- a/include/negamax.h
+++ b/include/negamax.h
@@ -15,12 +15,12 @@
along with ct. If not, see <https://www.gnu.org/licenses/>.
*/
-#include <stdint.h>
#include <math.h>
+#include <stdint.h>
-#include <tak.h>
#include <actions.h>
#include <nn1986.h>
+#include <tak.h>
#include <tt_llcht.h>
#include <zobrist.h>
@@ -33,8 +33,8 @@ extern char negamax_ptn[9];
extern uint8_t negamax_search_depth;
extern void negamax_display_progress(const uint8_t cur_depth,
- const uint8_t init_depth,
- const uint32_t length);
+ const uint8_t init_depth,
+ const uint32_t length);
// ===================================================================
// Methods
@@ -50,4 +50,4 @@ void negamax_free(void);
* `negamax_ptn', and return its value. The `negamax_display_progress'
* function is called on every new square at the top level.
*/
-float negamax_generate(void);
+float negamax_generate(tak_state_p state);