Object Oriented Filtering (OOF) - Dragan S. Pusonjic
Previous Table of Contents Next

Let us connect OR operator as well. There may be only two operators AND ili OR between our objects, that is, our operators are objects with two states. (Hmm, have we already mentioned that operators are objects, as well).
Let us mark the states of our operators;
            1)       AND operator –the state mark 0
            2)       OR operator – the state mark  1
The number of operator objects will be for one unit smaller than the number of filtering objects. Take into consideration the example with two filtering objects:

The following should be considered:
            1)       Operators AND/OR are in direct correlation with the filtering object  (Op1 -> Ob2)
            2)       Operator does not exist independently
            3)       Operator is to be considered only provided that the object is being active (Ob2)
            4)       Operator OR  does not exist on the first connected filtering object (notice the difference between the starting object and the first connected filtering object).

The analysis of valid reviews (calculated by the computer programs):

Number of objects

Number of possible reviews

1

2

2

5

3

14

4

41

5

122

6

365

7

1.094

8

3.281

9

9.842

10

29.525

13

797.162

15

7.174.454

 

 

 

 

 

 

 

The table below presents comparative values of the eliminating filter which turns on AND/OR operators.

Number of objects

Full filter (AND/OR switched on)

Number of possible reviews (AND)

          

The table shows that there is a large number of reviews. The number of possible reviews rises drastically with the number of filtering objects. However, this is of no interest for the user. What he faces, is the problem and the possibility to have it solved.

Previous Table of Contents Next