Unary Operators in Istar

Page under construction.

Unary operators are applied to inference relationships to modify the effect of the antecedent attribute before using it in the inference. At present they only apply to inference relationships.

Normally a relationship starts off with no unary operator, except as required by the inference method. For instance, the Bayesian inference method requires that its links hold bayesian weights, so in this case the indicated unary operator is overridden.

List of Unary Operations

The effect of most unary operators is given below, but there are two exceptions that override those.

The highest priority is given to the CONTROL unary operator. If one of these is found, and the antecedent is such that it can be converted into a truth value (i.e. of types Boolean, Probability, Proportion, Bayesian, Odds) then it might set the value of the consequent regardless of the other antecedents; see below. If it is not one of these types then the CONTROL is ignored.

The next highest priority is when the inference method of the consequent is Bayesian Accumulation of evidence. Then the operation is different. See below.

Otherwise, the operations are as follows:

Direct Unary Op: esUO_NONE

No change (except when bayesian inference method.

Negate: esUO_NEG

Except when bayesian inference method:

Invert: esUO_INVERT

Except when bayesian inference method:

Absolute Value: esUO_ABS

Except when bayesian inference method:

Multiply (Scale) by Weight: esUO_SCALE

Except when bayesian inference method:

Divide (Shrink) by Weight: esUO_DIV

Except when bayesian inference method:

Add Weight: esUO_ADD

Except when bayesian inference method:

Subtract Weight: esUO_SUB

Except when bayesian inference method:

Take Proportion, Probabilistic And: esUO_PROPN, esUO_PROBAND

Except when bayesian inference method:

Probabilistic Or: esUO_PROBOR

Except when bayesian inference method:

Mask by Weight; Bitwise And: esUO_AND

Except when bayesian inference method:

Union with Weight; Bitwise Or: esUO_OR

Except when bayesian inference method:

Bitwise Exclusive Or: esUO_XOR

Except when bayesian inference method:

Randomize: esUO_RANDOM

Except when bayesian inference method:

Control: esUO_CONTROL

If the antecedent is of the appropriate type, one that can be converted to a truth value, then this unary operator takes precedence over all others. It is normally when one attribute is made irrelevant by another (such as "Are you ill?" would make "What illness do you have?" irrelevant if answered with 'No'). It acts to control whether the consequent is relevant or not, by taking the truth value of the antecedent and:

When Inference Method is Bayesian Accumulation: esUO_WEIGHT, esUO_INVWEIGHT

When the inference method is Bayesian Accumulation of Evidence, then special action is taken which overrides the above. The unary operator on the relationship is replaced by one of these: INVWEIGHT being used if the unary operator is NEGATE or INVERT, and the WEIGHT being used otherwise. With these two unary operators:


Copyright (c) Andrew Basden 1998.