Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > IE > InferenceEngine > Classes > TInferenceEngine > Methods

TInferenceEngine.Assert(TFact) Method

Scroll Prev Top Next More

Asserts a fact into the fact base. For non-fuzzy facts (facts with no fuzzy slots), the assert method searches the fact base. If the fact is already in the fact base, the method returns -1. If this is a new fact, the fact is asserted and the new fact id is returned. The new fact is matched against the rules within the expert system and may cause some rules to be activated.

For fuzzy facts, the assert method also searches the fact base. If the fact is found, the old fact and the new fact are combined. The inference engine calculates the union of the two facts based on the FuzzyInference parameter, this is called a conditional assertion.

Namespace: InferenceEngine

Parameters

Fact

Type: TFact

Return Value

Type: Integer

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb