summaryrefslogtreecommitdiff
path: root/quackletest.cpp
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2015-08-24 04:45:27 -0500
committerJohn Fultz <jfultz@wolfram.com>2015-08-24 04:45:46 -0500
commit1f7b8ef6f96e1d5a2c50565a0f52cc633215e485 (patch)
tree11f406677824d20924748225ab7eb129ba929cd0 /quackletest.cpp
parent8c7ffef1b6c669592e979fb6038dd634df7f95fc (diff)
Version the GADDAGs.
Basically the same thing I just did to the DAWG files, now done to GADDAGs. Also, add hashing, and make sure GADDAGs only load if their hash matches that of the DAWG files.
Diffstat (limited to 'quackletest.cpp')
-rw-r--r--quackletest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/quackletest.cpp b/quackletest.cpp
index e69c2cb..7ea5d10 100644
--- a/quackletest.cpp
+++ b/quackletest.cpp
@@ -47,7 +47,7 @@ int main()
dataManager.setAppDataDirectory("data");
dataManager.lexiconParameters()->loadDawg(Quackle::LexiconParameters::findDictionaryFile("twl06.dawg"));
- dataManager.lexiconParameters()->loadGaddag(Quackle::LexiconParameters::findDictionaryFile("twl06.gaddag"));
+ dataManager.lexiconParameters()->loadGaddag(Quackle::LexiconParameters::findDictionaryFile("twl06.gaddag"));
dataManager.strategyParameters()->initialize("twl06");
dataManager.setBoardParameters(new Quackle::EnglishBoard());
@@ -58,7 +58,7 @@ int main()
const int gameCnt = 1000;
//const int gameCnt = 1;
for (int game = 0; game < gameCnt; ++game) {
- testGame();
+ testGame();
}
return 0;