Menu: Filters Compound
Using compound filters you can apply two or more filters in a single step thus speeding up the filtering process significantly. Another advantage of compound filters is that you can link compound filter parts using logical operators AND and OR. Therefore it is possible to create a compound filter that leaves in the package only tickets with odd/even ration 3:3 OR tickets that match ten previous draws in three to five numbers.
To create a new compound filter, use menu Filters - Compound - Add New or use Compound Filters Manager.
Logical operators AND / OR
Logical operator AND has higher priority than operator OR.
For
tutorial purposes we can express the logical links as mathematical operations.
Logical operator AND becomes arithmetical multiplication, operator
OR becomes arithmetical addition, value "1" represents
situations when a ticket passes filter condition, value "0"
represents failed tickets.
Then the expression:
condition1 (pass) AND condition2 (pass) OR
condition3 (fail) OR condition4 (fail) OR
condition5 (pass)
can be interpreted using arithmetical operations as:
1 multiply 1 multiply
0 plus 0 plus 1 =
1
The result is non-zero therefore the ticket passes the whole compound filter.
Compound
filter parts are evaluated in the order as they are shown in the filter
parts table. Compound filters use shortened evaluation of logical expressions
to speed up the filtering process. For example, if a compound filter is
codition1 AND condition2 AND condition3
and condition1
is evaluated as fail then condition2 and condition3 will not be evaluated because it
is clear that the complete condition of the compound filter will never
be satisfied (zero multiply anything multiply anything is always
zero).
Likewise, if a compound filter consists of three parts linked with operator OR and the first condition passes, then the other two conditions will not be evaluated because the complete condition of the compound filter will always pass (one plus anything plus anything is always non-zero).
Therefore it is recommended to place faster filters (Odd/Even, Sum, etc) at the beginning of the filter parts list while keeping slower filters (e.g. Match File, Match Winning Numbers, WN History etc) at the end of the list. This way you can significantly speed up the application of a compound filter.
Note: If a compound filter contains only parts that support back-testing, you can back-test the whole compound filter as well. Adding a part without back-test support makes the Back-test button disabled.
Note: Other compound filter can be used as a part of compound filter. In such a case it is suitable to switch to Hierarchy view where also components of inner compound/group filters are shown as a tree of filters. Then buttons OK, Apply, Preview and Back -Test apply only to selected (highlighted) filter component in the filter tree.