RCS file: /sources/gnugo/gnugo/engine/liberty.h,v
retrieving revision 1.258
diff -u -r1.258 liberty.h
|
|
|
|
| 97 | 97 | "analyze_semeai" |
| 98 | 98 | |
| 99 | 99 | /* To prioritize between different types of reading, we give a cost |
| 100 | | * ranking to each of the routines above: |
| | 100 | * ranking to each of the routines above (bigger index means bigger |
| | 101 | * cost): |
| 101 | 102 | * |
| 102 | 103 | * 4 semeai |
| 103 | 104 | * 3 owl |
| … |
… |
|
| 111 | 112 | 3, 3, 4, 0, 0, 1, 1, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, -1 |
| 112 | 113 | |
| 113 | 114 | |
| 114 | | const char *routine_id_to_string(enum routine_id routine); |
| | 115 | inline const char *routine_id_to_string(enum routine_id routine); |
| 115 | 116 | |
| 116 | 117 | |
| 117 | 118 | /* This is used for both the dragon status and safety fields. |
| … |
… |
|
| 194 | 195 | struct corner_db *database); |
| 195 | 196 | void dfa_match_init(void); |
| 196 | 197 | |
| 197 | | void reading_cache_init(int bytes); |
| 198 | | void reading_cache_clear(void); |
| 199 | | float reading_cache_default_size(void); |
| | 198 | inline void reading_cache_init(int bytes); |
| | 199 | inline void reading_cache_clear(void); |
| | 200 | inline float reading_cache_default_size(void); |
| 200 | 201 | |
| 201 | 202 | /* reading.c */ |
| 202 | 203 | int attack(int str, int *move); |
| … |
… |
|
| 345 | 346 | int surround_map(int dr, int pos); |
| 346 | 347 | |
| 347 | 348 | /* functions to add (or remove) move reasons */ |
| 348 | | void collect_move_reasons(int color); |
| | 349 | inline void collect_move_reasons(int color); |
| 349 | 350 | |
| 350 | 351 | void clear_move_reasons(void); |
| 351 | 352 | void add_lunch(int eater, int food); |
| … |
… |
|
| 652 | 653 | |
| 653 | 654 | void break_territories(int color_to_move, struct influence_data *q, |
| 654 | 655 | int store, int pos); |
| 655 | | void clear_break_in_list(void); |
| | 656 | inline void clear_break_in_list(void); |
| 656 | 657 | void break_in_move_reasons(int color); |
| 657 | 658 | |
| 658 | 659 | void choose_strategy(int color, float our_score, float game_status); |