Diagnostic roles

<< Click to Display Table of Contents >>

Navigation:  Using SMILE Wrappers > Diagnosis >

Diagnostic roles

Network.setNodeDiagType allows for setting for each node one of three possible diagnostic roles:

fault nodes, which require at least one fault state. During a diagnostic session, SMILE calculates the probabilities of the fault states after a change in the set of observations. To set a state of a diagnostic fault node to be a fault, use Network.setFaultOutcome.

observation nodes, which can be instantiated (set to specified evidence) during a diagnostic session. Observations can have default outcomes, which are instantiated automatically when a diagnostic session begins. To set the default outcome, call Network.setDefaultOutcome. To mark that the observation node should be included in the ranked list of observations, use Network.setRanked. To make the observation mandatory, use Network.setMandatory. The diagnostic session will not rank observations until all mandatory observations have been instantiated.

auxiliary nodes, which are neither observation nor a fault. The auxiliary role is a default when node is created.

When a network object is saved to a .xdsl file, the diagnostic roles of nodes are preserved.