AddToEdge increases the weight of an edge between two nodes. If there isn't such an edge one is created.
(to *Node, v int64, residual, inline bool)
| 120 | // AddToEdge increases the weight of an edge between two nodes. If |
| 121 | // there isn't such an edge one is created. |
| 122 | func (n *Node) AddToEdge(to *Node, v int64, residual, inline bool) { |
| 123 | n.AddToEdgeDiv(to, 0, v, residual, inline) |
| 124 | } |
| 125 | |
| 126 | // AddToEdgeDiv increases the weight of an edge between two nodes. If |
| 127 | // there isn't such an edge one is created. |
nothing calls this directly
no test coverage detected