You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assume we has n shared mode edges. Only one edge has ratio_shared_weight=y. We call weight of this edge is Y. We call weight of other edges is X (the same value).
(n - 1) * X + y * X = 1
=> X = 1 / (n + y - 1)
=> Y = y * X
Example:
We have 99 edges has no keyword weight and ratio_shared_weight. Each edge has weight=X.
1 edge has ratio_shared_weight=0.01. This edge has weight = Y.
99 * X + 0.01 * X = 1
X = 1 / (99 + 0.01) ~= 0.0101
Y = 0.01 * 0.0101 = 0.000101 << X
Note: the name ratio_shared_weight maybe a bad name, please choose other name if this feature is okay.
Sorry for my english, Please fix me!
The text was updated successfully, but these errors were encountered:
Scenario to use:
When number of out-edge becomes large (using sub-graph), no way to set weight such as:
How to use:
How it work:
Example:
Note: the name ratio_shared_weight maybe a bad name, please choose other name if this feature is okay.
Sorry for my english, Please fix me!
The text was updated successfully, but these errors were encountered: