| ILOG Rules for .NET User Guides > Rule Studio > Executing Rules > Key Classes of the ILOG Rules for .NET API |
Key Classes of the ILOG Rules for .NET API |
PREVIOUS NEXT |
The key classes of the ILOG Rules for .NET API are:
RuleEngine: provides the execution environment for RuleSet objects.
RuleSet: represents an object which manages a set of rule artifacts.
Agenda: tracks the prioritized rules selected by the rule engine during the pattern matching process.
WorkingMemory: stores objects against which the RuleSet is executed.
The key methods of the RuleEngine and RuleEngineBase classes are:
Assert: adds the specified object to the working memory.
Reset: resets the rule engine (retracts all objects from working memory).
Retract: removes the specified object from the working memory.
RetractAll: removes all objects from the working memory.
Update: updates the specified object that has been asserted to the working memory.
Execute: executes the ruleset.
SetParameterValue: sets the value of a ruleset parameter. This method is valid only for in and inout ruleset parameters, and should be used before execution.
GetParameterValues: returns a read-only IDictionary that contains the values of the ruleset parameters. This method is valid only for out and inout ruleset parameters, and should be used after execution.
Creating an Engine and Executing a Ruleset | Retrieving Data and Events From the Engine
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |