Count of views
This section will demonstrate how to count the number
of filtering forms you will be having on
form, that is, we intend to show the
real power of the usage of filtering object and OOF. The aim is to show that
playing on the form, you may have many reviews without the user being aware of
it. But what are our filtering objects? If we neglect the internal object
conditions, filtering object presents a simple switch with two states:
1)
the state of disconnection the state mark 0
2)
the state of connection the state mark 1
We shall give the label
n- to the
number of primary objects and
Nv for the
total number of potential reviews
We could utilize the knowledge of our connection technique (binary numbers) and
design the form with three objects:
The total number of reviews is : Nv = 2 ^ n
In order to this number of reviews, we need to have the eliminating filter type
(AND operator).
The table presents some of the values for the expression 2^n
|
Number of objects |
Number of possible reviews (AND) |
|
1 |
2 |
|
2 |
4 |
|
3 |
8 |
|
4 |
16 |
|
5 |
32 |
|
6 |
64 |
|
7 |
128 |
|
8 |
256 |
|
9 |
512 |
|
10 |
1.024 |
|
13 |
8.192 |
|
15 |
32.768 |
|
18 |
262.144 |
|
20 |
1.048.576 |
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.
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) |

See also
Vdf objects |
Special objects |
Extended objects |
Kondesed objects