Commit graph

13 commits

Author SHA1 Message Date
b6a2dfb855
add integrity check for draw pile 2023-11-11 11:44:37 +01:00
59709e2375
rework -r option: solve state in reverse order 2023-11-11 11:44:06 +01:00
8f6d8c68fe
add option to analyze all different clue counts 2023-11-11 01:27:54 +01:00
280833ff1f
add options to alter clue counts 2023-11-11 00:01:18 +01:00
6dd2b07c09
game state: fix taking actions: rotate draw correctly 2023-11-10 21:42:09 +01:00
4e67ffa9ee
Add optional argument to define score being optimized for
A third CLI argument is now accepted, describing a score goal.
The program will then treat reaching this score as a win and
calculate lines optimized for this score, ignoring any (possible)
higher scores.
2023-11-04 13:02:16 +01:00
b69cb6d974
Rework probability printing
Outputting of probabilities is now done in unified way.
This ensures that we can handle both rational and floating-point
probabilities in all program parts properly.

The compile-time macro
NUSE_RATIONAL_PROBABILITIES
can now be defined to use floating-point probabilities instead
of real rational ones.

Using floating-point results in roughly 10% speedup.
2023-10-02 12:37:24 +02:00
0cc069485d
CLI: align action probabilities in output 2023-09-26 23:20:49 +02:00
38e99cf662
remove unused card operators 2023-08-12 19:46:14 +02:00
70a6000884
clean up imports 2023-08-12 19:43:22 +02:00
b1c1f41c6e
add cli command to dump id parts 2023-08-12 18:48:01 +02:00
012b73879f
add sorts to position vectors for bijective id mapping 2023-08-12 14:00:54 +02:00
46554a7e33
split into src and include folder 2023-08-12 11:44:56 +02:00
Renamed from game_state.hpp (Browse further)