Provides access to the currently focused DefModule in your expert system. The TInferenceEngine component, like CLIPS, supports partitioning your expert system into multiple modules. The DefinedTypes, Facts, FactTemplates, Rules, Agenda, and Rete Network properties all refer to the CurrentModule. To access the other modules and their constructs, use the Modules property.
Namespace: InferenceEngine
Delphi |
public |
Property Value
Type: IModule
Manipulating non-focused modules' constructs directly is highly discouraged; access should be restricted to READ-ONLY operations. To manipulate other modules' constructs, switch the TInferenceEngine to the desired module either using the CurrentModule property or calling the IModule.FocusModule method and then access the constructs. Setting the CurrentModule triggers the OnChangeCurrentModule event. To focus another module without triggering the event, use the FocusModule method. |
Reference |