◷ Reading Time: 2 minutes
A discrimination network is a performance optimization mechanism. That allows for building a network of lookups and filters based on constant conditions of a Decision Table behind the scene. When a decision table has many rules e.g. thousands of rows, a discrimination network makes sure not all rules (rows) are evaluated if the condition of a specific rule does not match in the network. Also, it shares the value of the condition evaluation between rules when possible to avoid unnecessary evaluation.
The discrimination network is a graph that is built based on single or multi-dimensional constant values of a decision table’s conditions to improve the rules execution speed.
The discriminator column is available on the Decision Table condition’s column. It can be true/false when it is set to true, that condition will be contributing to the discrimination network.
- Decision Table (multi or single hit policy)
- Checking constant value on condition columns
To configure the Discrimination network simply set the property of Discriminator on all the columns with constant values to true.