Home
last modified time | relevance | path

Searched refs:liberties (Results 1 – 25 of 429) sorted by relevance

12345678910>>...18

/dports/games/gnugo/gnugo-3.8/engine/
H A Dboard.c1538 int liberties; in findlib() local
1553 liberties = string[s].liberties; in findlib()
1837 entry->liberties = liberties; in approxlib()
1856 entry->liberties = liberties; in approxlib()
1918 liberties++; in do_approxlib()
1942 liberties++; in do_approxlib()
1966 liberties++; in do_approxlib()
1992 liberties++; in do_approxlib()
2135 entry->liberties = liberties; in accuratelib()
2149 entry->liberties = liberties; in accuratelib()
[all …]
H A Dreading.c1029 int liberties; in attack_threats() local
1053 if (liberties > 1 && liberties < 6) { in attack_threats()
1154 int liberties; in do_find_defense() local
1420 int liberties; in defend1() local
1498 int liberties; in defend2() local
1641 int liberties; in defend3() local
1807 int liberties; in defend4() local
2010 int liberties; in special_rescue2_moves() local
2271 ASSERT1(liberties == 2 || liberties == 3, str); in special_rescue5_moves()
2355 ASSERT1(liberties == 3 || liberties == 4, str); in special_rescue6_moves()
[all …]
H A Dunconditional.c53 int liberties; in capture_non_invincible_strings() local
75 liberties = findlib(pos, MAXLIBS, libs); in capture_non_invincible_strings()
77 for (k = 0; k < liberties; k++) { in capture_non_invincible_strings()
324 int liberties; in unconditional_life() local
393 liberties = findlib(pos, MAXLIBS, libs); in unconditional_life()
394 for (k = 0; k < liberties; k++) { in unconditional_life()
476 liberties = findlib(pos, MAXLIBS, libs); in unconditional_life()
477 for (k = 0; k < liberties; k++) { in unconditional_life()
530 liberties = findlib(pos, MAXLIBS, libs); in unconditional_life()
531 for (k = 0; k < liberties; k++) in unconditional_life()
H A Dsemeai.c324 int liberties = findlib(str, MAXLIBS, libs); in find_moves_to_make_seki() local
326 for (k = 0; k < liberties; k++) { in find_moves_to_make_seki()
337 if (k == liberties) { in find_moves_to_make_seki()
427 int liberties = findlib(str, MAXLIBS, libs); in find_moves_to_make_seki() local
429 for (k = 0; k < liberties; k++) { in find_moves_to_make_seki()
440 if (k == liberties) { in find_moves_to_make_seki()
512 int liberties; in semeai_move_reasons() local
538 liberties = findlib(dragon2[d].semeai_defense_target, MAXLIBS, libs); in semeai_move_reasons()
540 for (r = 0; r < liberties; r++) { in semeai_move_reasons()
565 liberties = findlib(dragon2[d].origin, MAXLIBS, libs); in semeai_move_reasons()
[all …]
H A Dreadconnect.c231 int stones, liberties, lib; in snapback() local
241 if (liberties > 1) in snapback()
250 liberties = 0; in snapback()
252 liberties = countlib(lib); in snapback()
255 if (liberties > 1) in snapback()
272 int liberties, libs[MAXLIBS]; in ponnuki_connect() local
475 int liberties, libs[MAXLIBS]; in moves_to_connect_in_two_moves() local
722 int liberties, libs[MAXLIBS]; in moves_to_connect_in_three_moves() local
1544 if (liberties == 1) { in prevent_capture_one_move()
4167 if (liberties == 1) in ladder_capture()
[all …]
H A Dpersistent.c912 for (r = 0; r < liberties; r++) in compute_active_connection_area()
925 liberties = findlib(adjs[r], 3, libs); in compute_active_connection_area()
926 for (s = 0; s < liberties; s++) in compute_active_connection_area()
1062 for (r = 0; r < liberties; r++) in compute_active_breakin_area()
1075 liberties = findlib(adjs[r], 3, libs); in compute_active_breakin_area()
1076 for (s = 0; s < liberties; s++) in compute_active_breakin_area()
1194 for (r = 0; r < liberties; r++) in compute_active_owl_type_area()
1207 liberties = findlib(adjs[r], 3, libs); in compute_active_owl_type_area()
1208 for (s = 0; s < liberties; s++) in compute_active_owl_type_area()
1398 int liberties; in owl_hotspots() local
[all …]
H A Dfilllib.c374 int liberties; in find_backfilling_move() local
400 liberties = findlib(move, MAXLIBS, libs); in find_backfilling_move()
451 for (k = 0; k < liberties; k++) { in find_backfilling_move()
482 find_proper_superstring_liberties(move, &liberties, libs, 0); in find_backfilling_move()
484 for (k = 0; k < liberties; k++) { in find_backfilling_move()
H A Dutils.c948 signed char safe_stones[BOARDMAX], int liberties,
953 int liberties, int *libs,
989 int liberties = accuratelib(move, color, 5, libs); in blunder_size() local
1008 safe_stones, liberties, in blunder_size()
1018 liberties, libs, &return_value, save_verbose); in blunder_size()
1058 signed char safe_stones[BOARDMAX], int liberties, in detect_owl_blunder() argument
1076 if (liberties <= worm[bpos].liberties in detect_owl_blunder()
1077 && liberties <= 4) in detect_owl_blunder()
1165 int liberties, int *libs, in detect_tactical_blunder() argument
1309 if (liberties == 2) { in detect_tactical_blunder()
H A Dworm.c115 ASSERT1(worm[pos].liberties == lib1, pos); in make_worms()
544 worm[pos].liberties = countlib(pos); in build_worms()
743 int liberties; in find_worm_attacks_and_defenses() local
833 liberties = findlib(str, MAXLIBS, libs); in find_worm_attacks_and_defenses()
835 for (k = 0; k < liberties; k++) { in find_worm_attacks_and_defenses()
880 int liberties; in find_worm_threats() local
931 liberties = findlib(str, MAXLIBS, libs); in find_worm_threats()
933 for (k = 0; k < liberties; k++) { in find_worm_threats()
1012 && worm[pos].liberties < worm[*lunch].liberties)) { in find_lunch()
1778 worm[pos].liberties, in report_worm()
H A Dcombination.c1114 int liberties; in atari_atari_find_defense_moves() local
1144 liberties = findlib(str, 4, libs); in atari_atari_find_defense_moves()
1145 for (k = 0; k < liberties; k++) { in atari_atari_find_defense_moves()
1172 liberties = findlib(adjs[k], 3, libs); in atari_atari_find_defense_moves()
1173 if (liberties <= 3) { in atari_atari_find_defense_moves()
1174 for (s = 0; s < liberties; s++) { in atari_atari_find_defense_moves()
1214 int liberties; in compute_aa_values() local
1228 liberties = findlib(pos, MAXLIBS, libs); in compute_aa_values()
1231 for (r = 0; r < liberties; r++) { in compute_aa_values()
H A Dendgame.c462 int liberties; in endgame_find_liberties() local
473 liberties = findlib(str, MAXLIBS, libs); in endgame_find_liberties()
481 for (k = 0; k < liberties; k++) { in endgame_find_liberties()
/dports/science/pybrain/pybrain-0.3.3/pybrain/rl/environments/twoplayergames/
H A Dcapturegame.py45 self.liberties = {}
137 self.liberties[self.groups[pos]] = set(freen)
146 self.liberties[newg].difference_update([pos])
152 self.liberties[newg].update(self.liberties[oldg])
153 self.liberties[newg].difference_update([pos])
154 del self.liberties[oldg]
157 del self.liberties[self.groups[pos]]
159 self.liberties[self.groups[n]].update(freen)
173 if len(self.liberties[self.groups[n]]) > 1:
186 if len(self.liberties[self.groups[n]]) == 1:
[all …]
/dports/games/gnugo/gnugo-3.8/regression/games/STS-RV/Class01eProblems/
H A D_semeai_C0_003.sgf11 Blacks outside liberties=5,
12 Whites outside liberties=6.
13 Shared liberties= 4.
14 If whites fills two outside liberties, black has to answer not before. If black fills four outside
H A D_semeai_C0_004.sgf11 The one who plays first win. Both 19 outside liberties and 0 shared liberties.
/dports/games/gnugo/gnugo-3.8/doc/
H A Dutils.texi233 determine exactly which liberties can be played legally is not
300 superstring which are not already liberties of @code{str}. If
302 which have fewer than @code{liberty_cap} liberties are generated.
318 liberties of the superstring which are not already liberties of
320 superstring which have fewer than liberty_cap liberties are
329 @code{<= liberty_cap} liberties are reported.
337 @code{<= liberty_cap} liberties are reported.
584 address the problem of determining how many liberties a
594 Count the number of liberties of the string at @code{pos}. There
601 empty. The locations of up to maxlib liberties are written into
[all …]
H A Dboard.texi31 of strings and liberties on the go board.
89 handling of strings, liberties and other properties
277 @item Number of liberties.
278 @item A list of the liberties. If there are too many liberties the list is
292 int liberties; /* Number of liberties. */
293 int libs[MAX_LIBERTIES]; /* Coordinates of liberties. */
401 update the liberties and neighbor lists for the neighbors of the
418 liberties can be found by looking for empty points in the four
424 the cyclic chain, if needed moving the origin, and updating liberties
433 becomes a little more complex to keep track of liberties and neighbors
[all …]
H A Ddragon.texi73 int liberties;
126 @item @code{liberties}
131 @cindex liberties (worm)
132 @cindex liberties, higher order (worm)
133 For a nonempty worm the field liberties is the number of liberties of the
136 fourth order liberties, respectively.
137 The definition of liberties of order >1 is adapted to the
150 XO.... liberties of XO1234
157 The convention that liberties of order >1 may not touch a
251 captured, and which has no edge liberties or second
[all …]
/dports/games/nextgo/NeXTGo-3.0/
H A DDocumentation.gnugo101 findwinner looks for pieces of user that only have 3 or less liberties.
109 save any piece if threaten with less than four liberties
120 invoke countlib to count liberties, if spot already taken
141 evaluate liberties of pieces of a particular color using countlib.
147 remove pieces with zero liberties, updating count of pieces captured
159 count liberties at each square.
163 count liberties at given square. zero out value of that square.
186 for each cell, check to see if its liberties are minlib and if so
207 find move if any pieces of 1 to 3 liberties is threatened
208 count how many pieces have minlib liberties.
[all …]
/dports/net/dgd-lpmud/mud/2.4.5/obj/Go/
H A Drule38 The liberties of a group, are the number of liberties that a group have.
/dports/games/ldmud/ldmud-3.3.720/mud/lp-245/obj/Go/
H A Drule38 The liberties of a group, are the number of liberties that a group have.
/dports/games/gnugo/gnugo-3.8/regression/games/STS-RV/MiscProblems/
H A D_semeai_C9_001.sgf10 J1 K1: White plays G1 and wins. If black plays G1 its useless (not enough liberties) but if he play…
13 A8 A7: Black to play B9 and win. White to play A10 (gaining 8 liberties) and win.
15 …threats, white wins the ko and the semiai. If black answers T12 white wins the semiai on liberties.
/dports/games/gnugo/gnugo-3.8/patterns/
H A Dhelpers.c476 int liberties; in squeeze_ko_helper() local
479 liberties = findlib(pos, 2, libs); in squeeze_ko_helper()
480 ASSERT1(liberties == 2, pos); in squeeze_ko_helper()
482 for (k = 0; k < liberties; k++) { in squeeze_ko_helper()
557 int liberties = findlib(Apos, 2, libs); in connect_and_cut_helper() local
562 gg_assert(liberties == 2); in connect_and_cut_helper()
/dports/textproc/p5-Lingua-Ident/Lingua-Ident-1.7/data/
H A Dsample.en42 Shared concerns for civil liberties unite left, right
47 response to terrorism could severely damage civil liberties.
117 liberties, conservatives have gotten increasingly involved in the
136 liberties and freedoms that are at the core of the American way of
179 they all view civil liberties the same way.
185 degree of civil liberties as citizens. And that puts her at serious
/dports/math/R-cran-Amelia/Amelia/man/
H A Dafrica.Rd10 GDP, a measure of civil liberties and total population. The data is
/dports/www/hs-postgrest/postgrest-8.0.0/_cabal_deps/lens-aeson-1.1.1/
H A DAUTHORS.markdown3 …polish it up and put it on hackage. In the process he took all sorts of liberties with the structu…

12345678910>>...18