14.5.5.2 Merging
This strategy can be used to merge the properties of multi-edges. The graph server (PGX) allows the user to define a MergingFunction
for every property. Currently, PGX supports the following functions:
MergingFunction.MIN
MergingFunction.MAX
MergingFunction.SUM
Note:
SUM is only defined on numeric properties.
The following figure shows how the graph server (PGX) merges the different edge properties and labels. It takes the minimal cost, the sum of distances and the maximal edge label.
Parent topic: Advanced Multi-Edge Handling