Keep only pure libmap stuff in libmap.*, move goal tracking to tactics/goals.*
[pachi.git] / tactics / 2lib.h
blob3d756a3f12286e6067d9eaec0ca208cc25fb08ff
1 #ifndef PACHI_TACTICS_2LIB_H
2 #define PACHI_TACTICS_2LIB_H
4 /* Two-liberty tactical checks (i.e. dealing with two-step capturing races,
5 * preventing atari). */
7 #include "board.h"
8 #include "tactics/goals.h"
10 void can_atari_group(struct board *b, group_t group, enum stone owner, enum stone to_play, struct libmap_mq *q, int tag, struct libmap_group lmg, hash_t ca_hash, bool use_def_no_hopeless);
11 void group_2lib_check(struct board *b, group_t group, enum stone to_play, struct libmap_mq *q, int tag, bool use_miaisafe, bool use_def_no_hopeless);
13 #endif