OpenCog Framework  Branch: master, revision 6f0b7fc776b08468cf1b74aa9db028f387b4f0c0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
UnifyPMCB.h
Go to the documentation of this file.
1 /*
2  * UnifyPMCB.h
3  *
4  * Copyright (C) 2015 OpenCog Foundation
5  *
6  * Author: William Ma <https://github.com/williampma>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU Affero General Public License v3 as
10  * published by the Free Software Foundation and including the exceptions
11  * at http://opencog.org/wiki/Licenses
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU Affero General Public License
19  * along with this program; if not, write to:
20  * Free Software Foundation, Inc.,
21  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22  */
23 
24 #ifndef _OPENCOG_UNIFYPMCB_H
25 #define _OPENCOG_UNIFYPMCB_H
26 
27 #include "BackwardChainerPMCB.h"
28 
29 namespace opencog
30 {
31 
33 {
34 public:
36  virtual ~UnifyPMCB();
37 
38  virtual bool variable_match(const Handle&, const Handle&);
39  virtual bool grounding(const std::map<Handle, Handle> &var_soln,
40  const std::map<Handle, Handle> &pred_soln);
41 
42 private:
44 };
45 
46 }
47 
48 #endif // _OPENCOG_UNIFYPMCB_H
std::shared_ptr< VariableList > VariableListPtr
Definition: VariableList.h:94
VariableListPtr _ext_vars
Definition: UnifyPMCB.h:43
UnifyPMCB(AtomSpace *, VariableListPtr, VariableListPtr)
Definition: UnifyPMCB.cc:34
virtual bool grounding(const std::map< Handle, Handle > &var_soln, const std::map< Handle, Handle > &pred_soln)
Definition: UnifyPMCB.cc:69
virtual ~UnifyPMCB()
Definition: UnifyPMCB.cc:40
virtual bool variable_match(const Handle &, const Handle &)
Definition: UnifyPMCB.cc:45