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 00032 #ifndef SGRAPHFILTER_H 00033 #define SGRAPHFILTER_H 00034 00035 // ---------------------------- Internal Headers ---------------------------- // 00036 00037 #include "Filter.h" 00038 00039 // ---------------------------- External Headers ---------------------------- // 00040 00041 #include "graph.h" 00042 00049 class SGraphFilter: public Filter 00050 { 00051 protected: 00052 // The graph 00053 MyGraph graph; 00054 00055 public: 00056 SGraphFilter(); 00057 SGraphFilter(const SGraphFilter& src); 00058 virtual ~SGraphFilter(); 00059 virtual SGraphFilter& operator =(const SGraphFilter& rhs); 00060 virtual bool filter(const ItemSet& is, TruthMatrix& tm, string& msg); 00061 }; 00062 00063 #endif