Reference > Rule Languages > ILOG Rule Language > IRL Keywords > instances

Summary

The keyword in a ruleset declaration to declare class instances. This keyword is used at the top level of the ruleset.

Syntax

ruleset rulesetName
{
   instances (className) = value|{value1,...,valuen}; 
};

Description

Class instances allow the user to declare on which instances for a specified class the rule engine will work on instead of looking for objects of this class in the working memory. There are two ways to define class instances:

See Also

ruleset