OpenCog Framework
Branch: master, revision 6f0b7fc776b08468cf1b74aa9db028f387b4f0c0
|
#include <ForwardChainerCallBack.h>
Public Member Functions | |
ForwardChainerCallBack (AtomSpace *as) | |
virtual | ~ForwardChainerCallBack () |
virtual std::vector< Rule * > | choose_rules (FCMemory &fcmem)=0 |
virtual HandleSeq | choose_premises (FCMemory &fcmem)=0 |
virtual Handle | choose_next_source (FCMemory &fcmem)=0 |
virtual HandleSeq | apply_rule (FCMemory &fcmem)=0 |
Private Attributes | |
AtomSpace * | as_ |
Definition at line 38 of file ForwardChainerCallBack.h.
|
inline |
Definition at line 43 of file ForwardChainerCallBack.h.
|
inlinevirtual |
Definition at line 47 of file ForwardChainerCallBack.h.
apply chosen rule. the default will wrap a custom PM callback class. i.e invokes _pattern_matcher.
Implemented in opencog::DefaultForwardChainerCB.
choose next source from the source list
Implemented in opencog::DefaultForwardChainerCB.
Choose additional premises for the rule. an object holding the current source/target and other inform ation of the forward chaining instance.
Implemented in opencog::DefaultForwardChainerCB.
|
pure virtual |
Choose a set of applicable rules from the rule base by selecting rules whose premise structurally matches with the source. an object holding the current source/target and other inform ation of the forward chaining instance.
Implemented in opencog::DefaultForwardChainerCB.
|
private |
Definition at line 41 of file ForwardChainerCallBack.h.