game buffering in datagen
This commit is contained in:
1 parent
ae0814f50b
commit
6e905fdf2e
3 files changed
+84
-142
No files matched your search
@@ -2,9 +2,11 @@
|
||||
#include "board.h"
|
||||
#include "utils.h"
|
||||
#include <fstream>
|
||||
#include "stopwatch.h"
|
||||
|
||||
namespace DATAGEN {
|
||||
|
||||
constexpr int GAME_BUFFER = 1000;
|
||||
constexpr int SOFT_NODES = 5000;
|
||||
constexpr int HARD_NODES = 100000;
|
||||
constexpr int RAND_MOVES = 8;
|
||||
@@ -78,4 +80,6 @@ struct Game {
|
||||
};
|
||||
|
||||
void Run(int targetPositions, int threads);
|
||||
|
||||
void PrintProgress(int positions, int targetPositions, Stopwatch &stopwatch, int threads);
|
||||
}
|
||||
Reference in new issue
Block a user