Back
add-blossom (clj)
(source)protocol
(add-blossom ctx base k)
Construct a new blossom with given `base`, containing edge k which
connects a pair of S vertices. Label the new blossom as S; set its dual
variable to zero; relabel its T-vertices to S and add them to the queue.
Returns an updated `context`.