virtual P6R::P6ERR P6R::p6IRuleEngine::setEvalLimits ( P6UINT32  maxExecuteRules  )  [pure virtual]

This is an optional feature that allows the caller to modify the rule evaluation process.

The evaluation limits may be needed to reach performance considerations or to provide specific funtionality. For example, setting 'maxExecuteRules' to 1 forces the rule engine to run only the most fitting rule to a situation.

Parameters:
maxExecuteRules [IN] maximum number of rules (from any rule set) that will be executed per call to evaluate(). A value of zero means no limit, and is the default setting.
Returns:
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to intialize() must be made before calling this funciton.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.