virtual P6R::P6ERR P6R::p6IRuleEngine::evaluate ( P6CHAR *  pRuleSetName  )  [pure virtual]

Run the forward-chaining rule engine by interpreting the currently defined rules against the currently defined facts (if any).

This method can be called repeatedly in between calls to modifyRules() and addFacts().

Parameters:
pRuleSetName [IN] The rule set to start evaluation. This parameter can be set to NULL, in which case the default rule set (named "#default") is used.
Returns:
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to intialize() must be made before calling this funciton.
P6R::eInvalidStateA successful call to modifyRules() is required before a call to this method.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.