Previous Topic

Next Topic

Book Contents

Book Index

Method Selection Logic

Control-O/COSMOS compares attributes of the object whose status is to be changed with rows in the Method database. Control-O/COSMOS attempts to match current status, desired status, object name, and object class with information specified for the various methods in the Method database.

Below is a list of the columns in the Method database and how they are compared with attributes of the object under consideration. All columns listed below are analyzed. Control-O/COSMOS decides which method to invoke only after analyzing all rows in the Method database.

Each row in the Method database is assigned a score depending on how well it matches the description of the object to be modified. The Method rule specified in the row with the highest score is invoked. If no method matches the object under consideration, no action is performed.

The Method database columns are listed below in order of importance. For example, the first column (CURRENT) is assigned a more significant score than the second (DESIRED).

The following Method database columns are analyzed:

The scores assigned to matches in each column of a row are added together to determine its total score.

The rule named in the METHOD column of the row with the highest total score is invoked to process the object.

If more than one row is assigned the highest total score (that is, if there is a tie), the first- appearing row with the highest total score is chosen.

As already mentioned, if no row match was found (meaning, all rows were rejected), no action is performed on the object being considered.

Note: Rows rejected at any stage in the comparison are not considered candidates for processing the object.

The following table shows the possible combinations of matches of information that can invoke a Method rule. These combinations are listed in order of their scores (that is, row number 1 is the highest score, 2 the second highest, and so on).

Table 18 Method Rule Invocations

 

Current

Desired

OBJDB

METCLASS

 

Exact Match

Generic Match

Exact Match

Generic Match

Null

Exact Match

Null

Object Name

Object Class

Null

1

Yes

 

¸

 

 

¸

 

¸

 

 

2

Yes

 

¸

 

 

¸

 

 

¸

 

3

Yes

 

¸

 

 

¸

 

 

 

Yes

4

Yes

 

¸

 

 

 

¸

Yes

 

 

5

Yes

 

¸

 

 

 

¸

 

¸

 

6

Yes

 

¸

 

 

 

¸

 

 

Yes

7

Yes

 

 

¸

 

¸

 

¸

 

 

8

Yes

 

 

¸

 

¸

 

 

¸

 

9

Yes

 

 

¸

 

¸

 

 

 

Yes

10

Yes

 

 

¸

 

 

¸

Yes

 

 

11

Yes

 

 

¸

 

 

¸

 

¸

 

12

Yes

 

 

¸

 

 

¸

 

 

Yes

13

Yes

 

 

 

¸

Yes

 

¸

 

 

14

Yes

 

 

 

¸

Yes

 

 

¸

 

15

Yes

 

 

 

¸

Yes

 

 

 

Yes

16

Yes

 

 

 

¸

 

¸

Yes

 

 

17

Yes

 

 

 

¸

 

¸

 

¸

 

18

Yes

 

 

 

¸

 

¸

 

 

Yes

19

 

¸

Yes

 

 

¸

 

¸

 

 

20

 

¸

Yes

 

 

¸

 

 

¸

 

21

 

¸

Yes

 

 

¸

 

 

 

Yes

22

 

¸

Yes

 

 

 

¸

Yes

 

 

23

 

¸

Yes

 

 

 

¸

 

¸

 

24

 

¸

Yes

 

 

 

¸

 

 

Yes

25

 

¸

 

¸

 

¸

 

¸

 

 

26

 

¸

 

¸

 

¸

 

 

¸

 

27

 

¸

 

¸

 

¸

 

 

 

Yes

28

 

¸

 

¸

 

 

¸

Yes

 

 

29

 

¸

 

¸

 

 

¸

 

¸

 

30

 

¸

 

¸

 

 

¸

 

 

Yes

31

 

¸

 

 

¸

Yes

 

¸

 

 

32

 

¸

 

 

¸

Yes

 

 

¸

 

33

 

¸

 

 

¸

Yes

 

 

 

Yes

34

 

¸

 

 

¸

 

¸

Yes

 

 

35

 

¸

 

 

¸

 

¸

 

¸

 

36

 

¸

 

 

¸

 

¸

 

 

Yes

Parent Topic

Creating and Maintaining Method Databases