⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 factsbase.h.svn-base

📁 一个巴西大学编写的2D仿真组足球机器人程序
💻 SVN-BASE
字号:
/* *  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 2 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, write to the Free Software *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *//*! \file FactsBase.h<pre><b>File:</b>          FactsBase.h<b>Project:</b>       Robocup Soccer Simulation Team: MecaTeam<b>Authors:</b>       Orivaldo Vieira e Augusto Loureiro<b>Created:</b>       10/09/2006<b>Last Revision:</b> $ID$<b>Contents:</b>      Este arquivo cont�m a defini��o da classe                FactsBase. A FactsBase � classe que disponibiliza a               a Base de fatos para um sistema baseado em conhecimento.<hr size=2><h2><b>Changes</b></h2><b>Date</b>             <b>Author</b>          <b>Comment</b>19/09/2006       Orivaldo Vieira      Documenta��o</pre>*/#ifndef FACTSBASE_H#define FACTSBASE_H#include <iostream>#include <fstream>#include "LogicPattern.h"#include "LogicDataStructure.h"class FactsBase { public:   FactsBase                           ( );   ~FactsBase                          ( );   bool addLogicPattern                (LogicPattern*    newFact);   bool addLogicPattern                (string        objectName,                                        string         attribute,                                        string             value);   bool queryLogicPattern              (LogicPattern*    newFact);   bool queryLogicPattern              (string        objectName,                                        string         attribute,                                        string             value);   bool clearLogicPattern              (string        objectName);   bool clearLogicPattern              (string        objectName,                                        string         attribute);   LogicPattern* selectObjectAndAttribute (LogicPattern* pattern);   bool loadLogicPatternFile           (string          fileName);   void print                          ( ); private:   void initialize               ( );   LogicDataStructure*           m_storeLogicPattern;};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -