Add/Edit
Compound Filter
Menu: Filters
Compound
Add New / Manage
Customize
Use
this feature to create a new compound filter
or to edit an existing one. The function is available in menu Filters
- Compound - Add New or using button Customize in the window
of an existing compound filter.
A
compound filter is created by assembling two or more regular filters that
will apply to each ticket in a single step.
Controls
Description
- List / Hierarchy View - toggles between
list view and tree view of filter parts. The hierarchy shows all parts
of compound filter in a tree structure where components of other embedded
groups/compound filters are also displayed.
- Add - brings up a list of available
filters you can add as a compound filter part. Choosing a filter from
the menu brings up its window where you can adjust its parameters. Click
button Add in this new window to append the selected filter to
the end of the list of the compound filter that you are currently creating
or editing.
- Modify - opens the window of select
compound filter part where you can adjust its parameters.
- Remove - removes the selected compound
filter part(s) from the list.
- Move Up / Move Down - changes the
position of the selected compound filter parts. While the order of filter
parts does not affect the final result of the compound filter, it may
have impact on filter's execution speed. Keeping faster filter part at
the top of the list usually results in faster execution of the complete
compound filter. If a compound filter contains for example parts Single
Numbers and Match File, it is
recommended to place the Single Numbers filter above the Match
File filter in the filter parts table.
When the compound filter applies to a ticket in the package and the
ticket is not passing the Single Numbers filter then the Match
File filter does not have to be evaluated because it is clear that
the ticket does not match the condition of the whole compound filter (only
when using logical link AND). Reversing the order of filter parts
means that each ticket must be first compared with a file selected in
the Match File filter which is a time consuming operation.
- Compound Filter Parts Table/ Tree
- shows the list/tree of compound filter parts. The first table column
contains the logical operator linking the filter part at the same row
with the filter part at the row above. You can edit the description of
any filter part by double-clicking the appropriate table cell.
- Filter Name - enter a short label
for the compound filter, the label is then used in the compound filters
menu.
- Description - you can enter a short
text describing compound filter's purpose and intended results. Press
Enter key to start a new row, use your mouse to drag window border to
make the entry field wider.
- Save - clicking this button saves
the compound filter to disk. The new filter is then available in the compound
filters menu. When modifying an existing compound filter this button saves
all your changes. Therefore it is possible to customize the parameters
of an exiting compound filter and use buttons Apply, Preview
or Back-test to track how your modifications affect the filter
performance without actually saving your changes to disk. A compound filter
must contain at least two filter parts before it can be saved to disk.
- Save Copy - creates a copy of currently
edited compound filter and adds it to compound filter list. This feature
is useful in case you need to make and test only a minor change in filter
settings and maintain its original parameters at the same time.
This
window also contains other buttons and options common to all filter windows,
e.g. Apply, Preview, Back-test, Match tickets Remove/Leave. Their
functionality is the same as in other filter windows.
There
is no limit to the number of compound filter parts. However it is necessary
to pay close attention when choosing filter parts and setting their parameters.
We recommend to test compound filters on simple examples first.
Note: The compound filters database
is common for all installed lotteries. That means you can create a compound
filter once and use it in other lotteries. The only condition is that
the lotteries must have compatible rules (the count and range of drawn
numbers, the ticket size etc). Menu Filters - Compound always
shows only those compound filters you can apply to currently selected
lottery.
Note: You can use any compound filter
as a part in other compound filter. In such case it is suitable to toggle
to Hierarchy where the components of embedded filters are displayed
in tree.