An NDoc Documented Class Library

Rule.IsActiveInState Method 

Indicates whether the rule is active in the current environment state or not.

public abstract bool IsActiveInState(
   Environment environment
);

Parameters

environment
The environment where the expert system is running.

Return Value

true if the rule is active given the environment situation, false otherwise.

Remarks

Typically, rules analyze the properties CurrentInputElement and CurrentOutputElement.

See Also

Rule Class | ExpertCoder.ExpertSystem Namespace