This website requires JavaScript.
Explore
Help
Sign in
Miroirs
/
eliot
Watch
1
Star
0
Fork
You've already forked eliot
0
mirror of
git://git.savannah.nongnu.org/eliot.git
synced
2024-12-27 09:58:08 +01:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
40cea14bc3
eliot
/
test
/
training
/
search.input
14 lines
87 B
Text
Raw
Normal View
History
Unescape
Escape
Sorting the search results happens to be quite slow, often much slower than the search itself. But we don't need to sort them all the time, and in general we don't even need to keep all the rounds. This commit greatly improves the search performance by filtering the results in 3 different ways, depending on the context: - A limit to the number of results can be given (useful for the training mode). The kept results are the best ones, not the first ones found by the search. - When only the best round is needed (when the AI is playing with level 100, or when preparing the rack for an explosive game), we don't need to keep rounds with a lower score - When the AI has a level lower than 100, it is still possible to skip many rounds The search limit in training mode is configurable (defaulting to 100) and can be deactivated.
2009-01-22 19:30:22 +01:00
s i training.search-limit 1000
test/*: Added non-regression tests, based on the text interface. 'regression.pl' is the script that runs the regression, and 'drivers' contains the list of scenario files to be played. By default, the complete regerssion is played, but you can play specific scenarios by adding them to the command-line. Example: ./regression.pl training_bag freegame_change
2005-04-16 17:47:59 +02:00
e
t QpiNZ?s
a t
r
a r 1000
j QuIZ H6
t E?
r
a r 50
q
q
Reference in a new issue
Copy permalink