Catalogue
Interfaces, Classes, Traits and Enums
- OperationInterface
- Represents an operation on catalogue(s).
- AbstractOperation
- Base catalogues binary operation class.
- MergeOperation
- Merge operation between two catalogues as follows:
all = source ∪ target = {x: x ∈ source ∨ x ∈ target}
new = all ∖ source = {x: x ∈ target ∧ x ∉ source}
obsolete = source ∖ all = {x: x ∈ source ∧ x ∉ source ∧ x ∉ target} = ∅
Basically, the result contains messages from both catalogues.
- TargetOperation
- Target operation between two catalogues:
intersection = source ∩ target = {x: x ∈ source ∧ x ∈ target}
all = intersection ∪ (target ∖ intersection) = target
new = all ∖ source = {x: x ∈ target ∧ x ∉ source}
obsolete = source ∖ all = source ∖ target = {x: x ∈ source ∧ x ∉ target}
Basically, the result contains messages from the target catalogue.