From 6613f3fd45b4ecf6821ee7bb07c95f86f43b0db2 Mon Sep 17 00:00:00 2001 From: John Fultz Date: Thu, 20 Aug 2015 04:59:36 -0500 Subject: Move DAWG generation into quackleio. Same thing I just did for the gaddag code I'm now doing for the dawg code. While I was at it, I made some improvements to the dawg code... * Instead of adding multiple cross-checks for various kinds of node metadata, there's now only one cross- check...a hash applied to each node. * Some useless variables/members have been excised. * Add ability to do a word count (cryptohash coming soon). * Make it possible to call generate() and writeIndex() multiple times without corrupting the dictionary. --- makeminidawg/minidawgmaker.h | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 makeminidawg/minidawgmaker.h (limited to 'makeminidawg/minidawgmaker.h') diff --git a/makeminidawg/minidawgmaker.h b/makeminidawg/minidawgmaker.h deleted file mode 100644 index 7c8deee..0000000 --- a/makeminidawg/minidawgmaker.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Quackle -- Crossword game artificial intelligence and analysis tool - * Copyright (C) 2005-2014 Jason Katz-Brown and John O'Laughlin. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#ifndef QUACKLE_MINIDAWGMAKER_H -#define QUACKLE_MINIDAWGMAKER_H - -#include - -class MiniDawgMaker -{ -public: - MiniDawgMaker() {} - ~MiniDawgMaker() {} - - // parse and execute commands specified on command line - int executeFromArguments(); - - // TOOD further classify this code -}; - -#endif - -- cgit v1.2.3