Methods 

Use

You use methods during activation.

A method lets you define a condition for the activation.

You can use methods to show logical conditions, which consist of individual comparisons. These comparisons are linked by a logical AND or a logical OR. Each comparison consists of two comparison operands and one comparison operator, for example "A>B". The operands are either functions of the currently valid environment or constant values. At activation the result of a method is either True or False.

For more information, see Activation.

To define a method you can create various columns that each consist of one header and at least one cell. The header corresponds to the first comparison operand and each cell corresponds to a second comparison operand. For example, a column with three cells corresponds to three comparisons, where the first comparison operand is always the same.

 

When you evaluate a method, the entries in the cells of each column are linked to a logical OR. The resulting quantity of a column is linked by a logical AND to the resulting quantity of the other columns as a default value.

You can change the default value if required.

For more information, see Changing the Logical Links of Columns.

You want to depict the following condition:

(x > 10 OR x Î M) AND x < 100 with M = { 2 ; 20 ; 200 }

Then you must create the following columns:

1. Column:

Comparison operand 1: x

1. Row:

Comparison operator: >

Comparison operand 2: 10

2. Row:

Comparison operator: IN

Comparison operand 2: M

2. Column:

Comparison operand 1: x

1. Row:

Comparison operator: <

Comparison operand 2: 100

x and M are functions from the environment.

See also:

Defining Methods

Functions in Environments