alternative search

This commit is contained in:
Sander Land committed 2020-09-08 22:29:37 +02:00
1 parent 4e2ee03db7
commit 0d8f882869
17 files changed
+33 -1

No files matched your search

+1 -1
View File
@@ -377,7 +377,7 @@ class Game:
analyze_moves = [Move.from_gtp(gtp, player=cn.next_player) for gtp, _ in cn.analysis["moves"].items()]
priority = -1_000
if mode == "alternative": # also do a quick update on current candidates so it doesn't look too weird
self.katrain.controls.set_status("Searching for alternatives", STATUS_ANALYSIS)
self.katrain.controls.set_status(i18n._("alternative analysis"), STATUS_ANALYSIS)
cn.analyze(engine, priority=-500, time_limit=False, find_alternatives=True)
visits = engine.config["fast_visits"]
else:
Binary file not shown.
@@ -636,3 +636,7 @@ msgstr "Resign"
#. TODO - Analyze again but exclude all currently considered moves
msgid "analysis:alternatives"
msgstr "Find alternative moves"
#. TODO - status message
msgid "alternative analysis"
msgstr "Searching for alternative moves"
Binary file not shown.
@@ -685,3 +685,7 @@ msgstr ""
"Zug {move} zurückgenommen, da er {points_lost:.1f} Punkte verliert. Bewege "
"Mauszeiger über den Zug,um die erwartete Widerlegung zu sehen. Bitte "
"versuche es erneut."
#. TODO - status message
msgid "alternative analysis"
msgstr "Searching for alternative moves"
Binary file not shown.
@@ -121,6 +121,10 @@ msgstr "Performing additional analysis to {visits} visits"
msgid "sweep analysis"
msgstr "Analyzing entire board using {visits} visits/move"
#. status message
msgid "alternative analysis"
msgstr "Searching for alternative moves"
#. status message
msgid "equalizing analysis"
msgstr "Equalizing analysis of candidate moves to {visits} visits"
Binary file not shown.
@@ -693,3 +693,7 @@ msgstr "Resign"
#. TODO - Analyze again but exclude all currently considered moves
msgid "analysis:alternatives"
msgstr "Find alternative moves"
#. TODO - status message
msgid "alternative analysis"
msgstr "Searching for alternative moves"
Binary file not shown.
@@ -720,3 +720,7 @@ msgstr "Resign"
#. TODO - Analyze again but exclude all currently considered moves
msgid "analysis:alternatives"
msgstr "Find alternative moves"
#. TODO - status message
msgid "alternative analysis"
msgstr "Searching for alternative moves"
Binary file not shown.
@@ -675,3 +675,7 @@ msgstr "Find alternative moves"
msgid "teaching undo message"
msgstr ""
"待った。{move}は{points_lost:.1f}目損です(マウスカーソルをこの手にかざせばとがめる手順が表示されます)。打ち直してください。"
#. TODO - status message
msgid "alternative analysis"
msgstr "Searching for alternative moves"
Binary file not shown.
@@ -653,3 +653,7 @@ msgstr "기권함"
#. TODO - Analyze again but exclude all currently considered moves
msgid "analysis:alternatives"
msgstr "Find alternative moves"
#. TODO - status message
msgid "alternative analysis"
msgstr "Searching for alternative moves"
Binary file not shown.
@@ -681,3 +681,7 @@ msgstr "Resign"
#. TODO - Analyze again but exclude all currently considered moves
msgid "analysis:alternatives"
msgstr "Find alternative moves"
#. TODO - status message
msgid "alternative analysis"
msgstr "Searching for alternative moves"