|
|
Home | Loader API | Interfaces | File List | Index | |
P6R's Rule Engine Component. More...
#include "p6err.h"
#include "p6comdef.h"
#include "p6datastream.h"
#include "p6xpathvariables.h"
Go to the source code of this file.
Classes | |
interface | P6R::p6IRuleEngine |
This component implenents a forward chaining inference engine. More... | |
Defines | |
#define | COMP_p6RuleEngine {0xb51203,0x4cb9,0x4494,{0xb4,0x82,0x3,0x65,0x50,0xed,0xca,0xf}} |
#define | IF_p6IRuleEngine {0x962cc36b,0x160d,0x43df,{0x93,0xa9,0xba,0x39,0x6c,0x4f,0x12,0xb1}} |
Typedefs | |
typedef P6UINT32 | P6R::P6RULEFLAGS |
P6RULEFLAGS. | |
typedef P6UINT32 | P6R::P6RULERESETS |
P6RULERESETS. | |
Variables | |
const P6RULERESETS | P6R::P6RULE_CLEAR_AGENDAS = 0x00000001 |
const P6RULERESETS | P6R::P6RULE_CLEAR_FACTS = 0x00000004 |
const P6RULERESETS | P6R::P6RULE_CLEAR_INFER = 0x00000002 |
const P6RULERESETS | P6R::P6RULE_CLEAR_STATS = 0x00000008 |
const P6RULEFLAGS | P6R::P6RULE_IGNORETRACE = 0x00000008 |
const P6RULEFLAGS | P6R::P6RULE_KEEPSTATS = 0x00000020 |
const P6RULEFLAGS | P6R::P6RULE_NOFLAGS = 0x00000000 |
const P6RULEFLAGS | P6R::P6RULE_RESETAGENDAS = 0x00000004 |
const P6RULEFLAGS | P6R::P6RULE_TRACEBASIC = 0x00000001 |
const P6RULEFLAGS | P6R::P6RULE_TRACEVERBOSE = 0x00000002 |
const P6RULEFLAGS | P6R::P6RULE_USEJSON = 0x00000010 |
P6R's Rule Engine Component.
The P6R rule engine evaluates rules define in P6R's XML rule language. This rule language is essentially a script language and evalutates the defined rules using forward-chainging. Stated facts can be added at any time and inferred facts can be generated by the executed rules. The P6R::p6IRuleEngine::evaluate() function can be called mutliple times so that this inference engine can work over time as new stated facts and rules are added.
Definition in file p6ruleengine.h.