summaryrefslogtreecommitdiff
path: root/lexiconparameters.h
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2015-08-30 09:21:26 -0500
committerJohn Fultz <jfultz@wolfram.com>2015-08-30 09:21:26 -0500
commit9ea9637922ca68d24d7517cf61870d8cee31f6c5 (patch)
treefdda7856f7f45a709d16722df9c3daea2a1029ca /lexiconparameters.h
parent1f7b8ef6f96e1d5a2c50565a0f52cc633215e485 (diff)
Add hash query methods for dawgs, gaddags.
Diffstat (limited to 'lexiconparameters.h')
-rw-r--r--lexiconparameters.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lexiconparameters.h b/lexiconparameters.h
index 04ad4e7..b5bc564 100644
--- a/lexiconparameters.h
+++ b/lexiconparameters.h
@@ -19,6 +19,7 @@
#ifndef QUACKLE_LEXICONPARAMETERS_H
#define QUACKLE_LEXICONPARAMETERS_H
+#include <QString>
#include "alphabetparameters.h"
#include "gaddag.h"
@@ -76,6 +77,8 @@ public:
}
const GaddagNode *gaddagRoot() const { return (GaddagNode *) &m_gaddag[0]; };
+ QString hashString() const;
+
protected:
unsigned char *m_dawg;
unsigned char *m_gaddag;