00001 /************************************************************************** 00002 * Copyright (c) 2007 Clifford Conley Owens III * 00003 * * 00004 * This file is part of Biorithm. * 00005 * * 00006 * Biorithm is free software: you can redistribute it and/or modify * 00007 * it under the terms of the GNU General Public License as published by * 00008 * the Free Software Foundation, either version 3 of the License, or * 00009 * (at your option) any later version. * 00010 * * 00011 * Biorithm is distributed in the hope that it will be useful, * 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00014 * GNU General Public License for more details. * 00015 * * 00016 * You should have received a copy of the GNU General Public License * 00017 * along with Biorithm. If not, see <http://www.gnu.org/licenses/>. * 00018 * * 00019 **************************************************************************/ 00020 00031 #ifndef POSMINER_H 00032 #define POSMINER_H 00033 00034 // ---------------------------- Internal Headers ---------------------------- // 00035 00036 #include "BSEvaluator.h" 00037 #include "LatticeMiner.h" 00038 00046 class StandardMiner: public LatticeMiner 00047 { 00048 protected: 00049 // The evaluator 00050 BSEvaluator* bse; 00051 00052 // Helper methods 00053 virtual void analyzeHelper(); 00054 virtual bool analyzeLevel(unsigned int level); 00055 virtual void handlePrinting(unsigned int level); 00056 00057 public: 00058 StandardMiner(float balance = 0.5, float support = 1.0, 00059 unsigned int buffer_size = 1000, bool positive = false, 00060 BinaryMatrix* tm = NULL); 00061 StandardMiner(const StandardMiner& src); 00062 virtual ~StandardMiner(); 00063 virtual StandardMiner& operator =(const StandardMiner& rhs); 00064 }; 00065 00066 #endif