powered by
Greedy one-to-one matching of pairs
greedy(x, y, weight)
id's of lhs of pairs
id's of rhs of pairs
weight of pair
Pairs with the highest weight are selected as long a neither the lhs as the rhs are already selected in a pair with a higher weight.