How the Algorithm Works

The algorithm within Precedence Management computes the changes made, calculates the new weight based on quality, compares the weight, and decides which value to retain.

The algorithm is as follows:

  1. Compute the changes for the attributes that have been changed.
    1. For each attribute, look up the history to find the most recent change in the source.
    2. For each change, calculate old weight based on old source quality definition, apply precedence trust factor if applicable.
  2. For each change, calculate the new weight based on the quality definition. The weight calculation takes decay into account. If there is no definition for an attribute, no quality computation can be done for that attribute (change has 100% weight and is always accepted). For more information, see Weight Computation.
  3. For each change, calculate old weight based on the old source quality definition. Applying the precedence trust factor is applicable.
  4. Compare this weight and decide which value to retain (old or new).
  5. Generate assignment actions so that values can be reverted by the rulebase processing logic.