The getClosure() function returns a list of symptoms associated with a problem or aggregation. The function receives three arguments: class, instance, and event. The function returns the symptoms associated with the problem or aggregate based on the relationships among instances defined in the Domain Manager. The syntax is as follows:


The <oneHop> parameter is optional. If it is omitted or passed as FALSE, the full list of problems that explain <eventname>, whether directly or indirectly, is returned. If it is passed as TRUE, only those problems that directly list <eventname> among the events they explain are returned.

The function returns a list of lists with the format:

{ <classname>,<instancename>,<symptomname> },
{ <classname>,<instancename>,<symptomname> }